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

Issue 2428543002: Optimize needNoSuchMethodHandling computation (Closed)

Created:
4 years, 2 months ago by Johnni Winther
Modified:
4 years, 2 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Optimize needNoSuchMethodHandling computation This greatly improves the number of lookups needed to establish the relation. For the two most prolific tests we have: html/element_test: 44939 -> 6557 html/mirrors_js_typed_interop_test (mirrors+jsinterop!): 1638455 -> 171326 R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/a8b2bfb5eb77f670c414069dd9ff3dfaa993a3a8 Reverted: https://github.com/dart-lang/sdk/commit/5397c5427e9102a8ea7602174be2664d4c15bb8b Committed: https://github.com/dart-lang/sdk/commit/b262be749e4f7e05b3cbed1e69425ca98aa597ee

Patch Set 1 #

Total comments: 11

Patch Set 2 : Updated cf. comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -49 lines) Patch
M pkg/compiler/lib/src/elements/common.dart View 1 1 chunk +6 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/elements/elements.dart View 1 1 chunk +7 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/universe/class_set.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/world.dart View 1 2 chunks +43 lines, -26 lines 0 comments Download
M tests/compiler/dart2js/needs_no_such_method_test.dart View 5 chunks +15 lines, -18 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
Johnni Winther
4 years, 2 months ago (2016-10-17 12:08:26 UTC) #2
Siggi Cherem (dart-lang)
lgtm, very cool! https://codereview.chromium.org/2428543002/diff/1/pkg/compiler/lib/src/elements/elements.dart File pkg/compiler/lib/src/elements/elements.dart (right): https://codereview.chromium.org/2428543002/diff/1/pkg/compiler/lib/src/elements/elements.dart#newcode1562 pkg/compiler/lib/src/elements/elements.dart:1562: /// If [stopAtSuperclass], no member from ...
4 years, 2 months ago (2016-10-17 19:30:34 UTC) #3
Johnni Winther
https://codereview.chromium.org/2428543002/diff/1/pkg/compiler/lib/src/elements/elements.dart File pkg/compiler/lib/src/elements/elements.dart (right): https://codereview.chromium.org/2428543002/diff/1/pkg/compiler/lib/src/elements/elements.dart#newcode1562 pkg/compiler/lib/src/elements/elements.dart:1562: /// If [stopAtSuperclass], no member from [stopAtSuperclass] or its ...
4 years, 2 months ago (2016-10-18 08:13:51 UTC) #4
Johnni Winther
Committed patchset #2 (id:20001) manually as a8b2bfb5eb77f670c414069dd9ff3dfaa993a3a8 (presubmit successful).
4 years, 2 months ago (2016-10-18 08:52:34 UTC) #6
Johnni Winther
4 years, 2 months ago (2016-10-18 14:06:11 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
b262be749e4f7e05b3cbed1e69425ca98aa597ee (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698