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

Issue 22934004: Improve performance of ClassMirror.newInstance. (Closed)

Created:
7 years, 4 months ago by ahe
Modified:
7 years, 4 months ago
Reviewers:
karlklose, ngeoffray
CC:
reviews_dartlang.org, zarah
Visibility:
Public.

Description

Improve performance of ClassMirror.newInstance. R=ngeoffray@google.com Committed: https://code.google.com/p/dart/source/detail?r=26065

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Use JsCache helper class as suggested by Nicolas. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -9 lines) Patch
M dart/sdk/lib/_internal/lib/js_helper.dart View 1 1 chunk +20 lines, -0 lines 0 comments Download
M dart/sdk/lib/_internal/lib/js_mirrors.dart View 1 3 chunks +16 lines, -9 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
ahe
Benchmark results (smaller is better). Before: Runtime: 147ms Runtime: 98ms Runtime: 164ms Runtime: 168ms After: ...
7 years, 4 months ago (2013-08-12 23:12:29 UTC) #1
ngeoffray
LGTM https://codereview.chromium.org/22934004/diff/4001/dart/sdk/lib/_internal/lib/js_helper.dart File dart/sdk/lib/_internal/lib/js_helper.dart (right): https://codereview.chromium.org/22934004/diff/4001/dart/sdk/lib/_internal/lib/js_helper.dart#newcode665 dart/sdk/lib/_internal/lib/js_helper.dart:665: JS('void', 'delete #.x', result); Please add a comment ...
7 years, 4 months ago (2013-08-13 13:03:32 UTC) #2
ahe
Thank you, Nicolas! https://codereview.chromium.org/22934004/diff/4001/dart/sdk/lib/_internal/lib/js_helper.dart File dart/sdk/lib/_internal/lib/js_helper.dart (right): https://codereview.chromium.org/22934004/diff/4001/dart/sdk/lib/_internal/lib/js_helper.dart#newcode665 dart/sdk/lib/_internal/lib/js_helper.dart:665: JS('void', 'delete #.x', result); On 2013/08/13 ...
7 years, 4 months ago (2013-08-13 17:04:41 UTC) #3
ahe
7 years, 4 months ago (2013-08-13 17:25:58 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r26065 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698