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

Issue 300923003: Modify blink type map to finalize lazily (Closed)

Created:
6 years, 6 months ago by vsm
Modified:
6 years, 6 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, ricow1, Ivan Posva, Leaf
Visibility:
Public.

Description

Modify blink type map to finalize lazily Ivan suggested altering our type maps to add a level of indirection - to avoid eagerly finalizing all classes. Siva: not sure how you're instrumenting startup - can you test this out? R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=37222

Patch Set 1 #

Patch Set 2 : Fix generated mappings #

Patch Set 3 : Make tables non-const #

Total comments: 2

Patch Set 4 : Add fast path #

Patch Set 5 : Revert fast path table #

Patch Set 6 : regen #

Patch Set 7 : regen #

Patch Set 8 : Regenerate / merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+625 lines, -625 lines) Patch
M sdk/lib/_blink/dartium/_blink_dartium.dart View 1 2 3 4 5 6 7 1 chunk +6 lines, -6 lines 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 1 chunk +374 lines, -374 lines 0 comments Download
M sdk/lib/indexed_db/dartium/indexed_db_dartium.dart View 1 2 3 4 5 6 7 1 chunk +12 lines, -12 lines 0 comments Download
M sdk/lib/svg/dartium/svg_dartium.dart View 1 2 3 4 5 6 7 1 chunk +145 lines, -145 lines 0 comments Download
M sdk/lib/web_audio/dartium/web_audio_dartium.dart View 1 2 3 4 5 6 7 1 chunk +28 lines, -28 lines 0 comments Download
M sdk/lib/web_gl/dartium/web_gl_dartium.dart View 1 2 3 4 5 6 7 1 chunk +32 lines, -32 lines 0 comments Download
M sdk/lib/web_sql/dartium/web_sql_dartium.dart View 1 2 3 4 5 6 7 1 chunk +7 lines, -7 lines 0 comments Download
M tools/dom/scripts/systemhtml.py View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/dom/templates/html/dartium/_blink_dartium.darttemplate View 4 1 chunk +6 lines, -6 lines 0 comments Download
M tools/dom/templates/html/dartium/html_dartium.darttemplate View 1 2 3 1 chunk +9 lines, -9 lines 0 comments Download
M tools/dom/templates/html/dartium/indexed_db_dartium.darttemplate View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/dom/templates/html/dartium/svg_dartium.darttemplate View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/dom/templates/html/dartium/web_audio_dartium.darttemplate View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/dom/templates/html/dartium/web_gl_dartium.darttemplate View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/dom/templates/html/dartium/web_sql_dartium.darttemplate View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
vsm
https://codereview.chromium.org/300923003/diff/30001/sdk/lib/_blink/dartium/_blink_dartium.dart File sdk/lib/_blink/dartium/_blink_dartium.dart (right): https://codereview.chromium.org/300923003/diff/30001/sdk/lib/_blink/dartium/_blink_dartium.dart#newcode8300 sdk/lib/_blink/dartium/_blink_dartium.dart:8300: if (htmlBlinkMap.containsKey(key)) If initializing htmlBlinkMap is too expensive, we ...
6 years, 6 months ago (2014-05-28 15:07:45 UTC) #1
siva
Vijay, I could not get a measure of the speed up this change would introduce ...
6 years, 6 months ago (2014-05-30 23:53:33 UTC) #2
siva
lgtm
6 years, 6 months ago (2014-06-03 22:03:15 UTC) #3
siva
Vijay, are you not going to submit this CL ?
6 years, 6 months ago (2014-06-06 22:41:04 UTC) #4
vsm
6 years, 6 months ago (2014-06-11 05:48:47 UTC) #5
Message was sent while issue was closed.
Committed patchset #8 manually as r37222 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698