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

Issue 1832713002: Optimize dartium dart:html bindings so real world application performance is acceptable. Improves d… (Closed)

Created:
4 years, 9 months ago by Jacob
Modified:
4 years, 8 months ago
Reviewers:
Alan Knight, terry
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Optimize dartium dart:html bindings so real world application performance is acceptable. Improves dart:html performance by 2X-30X for microbenchmarks. Real world improvement is typically 2X-3X. BUG= Committed: https://github.com/dart-lang/sdk/commit/c65854d2e4141524b5ab7485cb0952fd7bd2c624

Patch Set 1 #

Total comments: 12

Patch Set 2 : Fixes for custom elements #

Patch Set 3 : make all html tests pass #

Patch Set 4 : ptal #

Patch Set 5 : update cached patches #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3603 lines, -5271 lines) Patch
M sdk/lib/html/dart2js/html_dart2js.dart View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M sdk/lib/html/html_common/conversions_dart2js.dart View 1 2 3 4 1 chunk +0 lines, -6 lines 0 comments Download
M sdk/lib/html/html_common/conversions_dartium.dart View 1 2 3 4 7 chunks +95 lines, -308 lines 0 comments Download
M sdk/lib/indexed_db/dartium/indexed_db_dartium.dart View 1 2 3 4 19 chunks +184 lines, -202 lines 0 comments Download
M sdk/lib/js/dartium/cached_patches.dart View 1 2 3 4 662 chunks +679 lines, -679 lines 0 comments Download
M sdk/lib/js/dartium/js_dartium.dart View 1 2 3 4 30 chunks +162 lines, -237 lines 0 comments Download
M sdk/lib/svg/dartium/svg_dartium.dart View 1 2 3 4 208 chunks +975 lines, -1717 lines 0 comments Download
M sdk/lib/web_audio/dartium/web_audio_dartium.dart View 1 2 3 4 51 chunks +235 lines, -397 lines 0 comments Download
M sdk/lib/web_gl/dartium/web_gl_dartium.dart View 1 2 3 4 97 chunks +584 lines, -964 lines 0 comments Download
M sdk/lib/web_sql/dartium/web_sql_dartium.dart View 1 2 3 4 8 chunks +39 lines, -90 lines 0 comments Download
M tests/co19/co19-analyzer2.status View 1 2 3 4 1 chunk +0 lines, -13 lines 0 comments Download
M tests/html/html.status View 1 2 3 4 1 chunk +0 lines, -5 lines 0 comments Download
M tests/html/js_array_test.dart View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M tests/html/js_test.dart View 1 2 3 4 3 chunks +10 lines, -13 lines 0 comments Download
M tests/html/wrapping_collections_test.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/dom/dom.json View 1 2 3 4 3 chunks +36 lines, -0 lines 0 comments Download
M tools/dom/scripts/css_code_generator.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/dom/scripts/generate_blink_file.py View 1 2 3 4 12 chunks +267 lines, -34 lines 0 comments Download
M tools/dom/scripts/generator.py View 1 2 3 4 4 chunks +16 lines, -20 lines 0 comments Download
M tools/dom/scripts/htmldartgenerator.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/dom/scripts/systemhtml.py View 1 2 3 4 5 chunks +8 lines, -45 lines 0 comments Download
M tools/dom/scripts/systemnative.py View 1 2 3 4 17 chunks +49 lines, -51 lines 0 comments Download
M tools/dom/src/dartium_CustomElementSupport.dart View 1 2 3 4 1 chunk +4 lines, -33 lines 0 comments Download
M tools/dom/src/dartium_KeyEvent.dart View 1 2 3 4 1 chunk +0 lines, -6 lines 0 comments Download
M tools/dom/src/dartium_WrappedEvent.dart View 1 2 3 4 1 chunk +4 lines, -5 lines 0 comments Download
M tools/dom/src/native_DOMImplementation.dart View 1 2 3 4 6 chunks +24 lines, -31 lines 0 comments Download
M tools/dom/templates/html/dart2js/html_dart2js.darttemplate View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M tools/dom/templates/html/dartium/html_dartium.darttemplate View 1 2 3 4 8 chunks +27 lines, -132 lines 0 comments Download
M tools/dom/templates/html/dartium/indexed_db_dartium.darttemplate View 1 2 3 4 1 chunk +63 lines, -7 lines 0 comments Download
M tools/dom/templates/html/dartium/svg_dartium.darttemplate View 1 2 3 4 1 chunk +0 lines, -8 lines 0 comments Download
M tools/dom/templates/html/dartium/web_audio_dartium.darttemplate View 1 2 3 4 1 chunk +0 lines, -8 lines 0 comments Download
M tools/dom/templates/html/dartium/web_gl_dartium.darttemplate View 1 2 3 4 1 chunk +0 lines, -8 lines 0 comments Download
M tools/dom/templates/html/dartium/web_sql_dartium.darttemplate View 1 2 3 4 1 chunk +0 lines, -8 lines 0 comments Download
M tools/dom/templates/html/impl/impl_Blob.darttemplate View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/dom/templates/html/impl/impl_CustomEvent.darttemplate View 1 2 3 4 2 chunks +0 lines, -7 lines 0 comments Download
M tools/dom/templates/html/impl/impl_DataTransferItemList.darttemplate View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/dom/templates/html/impl/impl_Document.darttemplate View 1 2 3 4 2 chunks +6 lines, -36 lines 0 comments Download
M tools/dom/templates/html/impl/impl_DocumentType.darttemplate View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M tools/dom/templates/html/impl/impl_Element.darttemplate View 1 2 3 4 5 chunks +44 lines, -30 lines 0 comments Download
M tools/dom/templates/html/impl/impl_FileReader.darttemplate View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/dom/templates/html/impl/impl_HTMLAudioElement.darttemplate View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate View 1 2 3 4 2 chunks +22 lines, -60 lines 0 comments Download
M tools/dom/templates/html/impl/impl_HTMLElement.darttemplate View 1 2 3 4 1 chunk +0 lines, -14 lines 0 comments Download
M tools/dom/templates/html/impl/impl_IDBDatabase.darttemplate View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M tools/dom/templates/html/impl/impl_MessageEvent.darttemplate View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/dom/templates/html/impl/impl_MutationObserver.darttemplate View 1 2 3 4 1 chunk +0 lines, -6 lines 0 comments Download
M tools/dom/templates/html/impl/impl_Node.darttemplate View 1 2 3 4 2 chunks +2 lines, -9 lines 0 comments Download
M tools/dom/templates/html/impl/impl_SVGCursorElement.darttemplate View 1 2 3 4 1 chunk +5 lines, -5 lines 0 comments Download
M tools/dom/templates/html/impl/impl_SVGElement.darttemplate View 1 2 3 4 1 chunk +1 line, -11 lines 0 comments Download
M tools/dom/templates/html/impl/impl_SVGFEDropShadowElement.darttemplate View 1 2 3 4 1 chunk +5 lines, -5 lines 0 comments Download
M tools/dom/templates/html/impl/impl_SVGGlyphRefElement.darttemplate View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/dom/templates/html/impl/impl_SVGMPathElement.darttemplate View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/dom/templates/html/impl/impl_ServiceWorkerMessageEvent.darttemplate View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/dom/templates/html/impl/impl_Touch.darttemplate View 1 2 3 4 1 chunk +8 lines, -8 lines 0 comments Download
M tools/dom/templates/html/impl/impl_WheelEvent.darttemplate View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tools/dom/templates/html/impl/impl_Window.darttemplate View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M tools/dom/templates/html/impl/impl_WorkerLocation.darttemplate View 1 2 3 4 1 chunk +9 lines, -9 lines 0 comments Download
M tools/dom/templates/html/impl/impl_WorkerNavigator.darttemplate View 1 2 3 4 1 chunk +9 lines, -9 lines 0 comments Download
M tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (3 generated)
Alan Knight
https://codereview.chromium.org/1832713002/diff/1/sdk/lib/html/html_common/conversions_dartium.dart File sdk/lib/html/html_common/conversions_dartium.dart (right): https://codereview.chromium.org/1832713002/diff/1/sdk/lib/html/html_common/conversions_dartium.dart#newcode143 sdk/lib/html/html_common/conversions_dartium.dart:143: return date; // TODO(jacobr): I don't get why this ...
4 years, 9 months ago (2016-03-25 21:39:09 UTC) #2
Jacob
Terry please take a look at the delta from patch set 1 to patch set ...
4 years, 8 months ago (2016-03-30 00:19:00 UTC) #4
Jacob
4 years, 8 months ago (2016-03-30 01:32:58 UTC) #6
Message was sent while issue was closed.
Committed patchset #5 (id:40001) manually as
c65854d2e4141524b5ab7485cb0952fd7bd2c624 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698