Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Issue 14619013: Explicitly implementing some DOM iterable APIs for performance (Closed)

Created:
7 years, 7 months ago by blois
Modified:
7 years, 7 months ago
Reviewers:
sra1
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Explicitly implementing some DOM iterable APIs for performance The move to mixins severely regressed dart2js DOM performance, this patches it some while work continues. BUG= R=sra@google.com Committed: https://code.google.com/p/dart/source/detail?r=22575

Patch Set 1 : #

Patch Set 2 : #

Total comments: 9

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1866 lines, -99 lines) Patch
M sdk/lib/html/dart2js/html_dart2js.dart View 1 2 44 chunks +682 lines, -44 lines 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 1 2 44 chunks +682 lines, -22 lines 0 comments Download
M sdk/lib/svg/dart2js/svg_dart2js.dart View 1 2 12 chunks +186 lines, -12 lines 0 comments Download
M sdk/lib/svg/dartium/svg_dartium.dart View 1 2 12 chunks +186 lines, -6 lines 0 comments Download
M sdk/lib/web_sql/dart2js/web_sql_dart2js.dart View 1 2 2 chunks +31 lines, -2 lines 0 comments Download
M sdk/lib/web_sql/dartium/web_sql_dartium.dart View 1 2 2 chunks +31 lines, -1 line 0 comments Download
M tests/html/node_test.dart View 1 1 chunk +11 lines, -0 lines 0 comments Download
M tools/dom/scripts/systemhtml.py View 1 2 1 chunk +14 lines, -11 lines 0 comments Download
M tools/dom/scripts/systemnative.py View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M tools/dom/templates/immutable_list_mixin.darttemplate View 1 2 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
blois
7 years, 7 months ago (2013-05-09 16:18:31 UTC) #1
blois
Updated with using more native indexers, range checking & a test for NodeList range checking.
7 years, 7 months ago (2013-05-09 18:38:12 UTC) #2
sra1
lgtm https://chromiumcodereview.appspot.com/14619013/diff/1015/sdk/lib/html/dartium/html_dartium.dart File sdk/lib/html/dartium/html_dartium.dart (right): https://chromiumcodereview.appspot.com/14619013/diff/1015/sdk/lib/html/dartium/html_dartium.dart#newcode7250 sdk/lib/html/dartium/html_dartium.dart:7250: if (index < 0 || index >= length) ...
7 years, 7 months ago (2013-05-09 19:55:50 UTC) #3
blois
https://chromiumcodereview.appspot.com/14619013/diff/1015/sdk/lib/html/dartium/html_dartium.dart File sdk/lib/html/dartium/html_dartium.dart (right): https://chromiumcodereview.appspot.com/14619013/diff/1015/sdk/lib/html/dartium/html_dartium.dart#newcode7250 sdk/lib/html/dartium/html_dartium.dart:7250: if (index < 0 || index >= length) throw ...
7 years, 7 months ago (2013-05-09 20:00:25 UTC) #4
blois
https://codereview.chromium.org/14619013/diff/1015/tools/dom/scripts/systemhtml.py File tools/dom/scripts/systemhtml.py (right): https://codereview.chromium.org/14619013/diff/1015/tools/dom/scripts/systemhtml.py#newcode714 tools/dom/scripts/systemhtml.py:714: indexed_getter = 'JS("%s", "#[#]", this, index)' % self.SecureOutputType(element_type); On ...
7 years, 7 months ago (2013-05-09 22:49:24 UTC) #5
blois
7 years, 7 months ago (2013-05-09 23:31:27 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r22575 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698