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

Issue 11417110: Let stopwatch use window.performance.now when available. Fix for: http://code.google.com/p/dart/iss… (Closed)

Created:
8 years, 1 month ago by Emily Fortuna
Modified:
8 years ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Let stopwatch use window.performance.now when available. Fix for: http://code.google.com/p/dart/issues/detail?id=4312 BUG=4312 Committed: https://code.google.com/p/dart/source/detail?r=15343

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed AAR comments #

Patch Set 3 : fix return statement #

Total comments: 4

Patch Set 4 : address lasse and peter's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -2 lines) Patch
M sdk/lib/_internal/compiler/implementation/lib/core_patch.dart View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/lib/js_helper.dart View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Emily Fortuna
This is the reincarnation of the long abandoned CL: https://codereview.chromium.org/11232056/
8 years, 1 month ago (2012-11-21 01:45:42 UTC) #1
ngeoffray
https://codereview.chromium.org/11417110/diff/1/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart File sdk/lib/_internal/compiler/implementation/lib/js_helper.dart (right): https://codereview.chromium.org/11417110/diff/1/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart#newcode539 sdk/lib/_internal/compiler/implementation/lib/js_helper.dart:539: var performance = JS('var', 'window.performance'); Shouldn't you check that ...
8 years, 1 month ago (2012-11-21 08:32:53 UTC) #2
kasperl
DBC https://codereview.chromium.org/11417110/diff/1/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart File sdk/lib/_internal/compiler/implementation/lib/core_patch.dart (right): https://codereview.chromium.org/11417110/diff/1/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart#newcode151 sdk/lib/_internal/compiler/implementation/lib/core_patch.dart:151: patch static int _frequency() => 1000; Wouldn't it ...
8 years, 1 month ago (2012-11-21 10:27:57 UTC) #3
Emily Fortuna
Good points for both comments. I have addressed both now. PTAL?
8 years, 1 month ago (2012-11-21 18:49:20 UTC) #4
Lasse Reichstein Nielsen
LGTM, but wait for a real dart2js reviewer :) https://codereview.chromium.org/11417110/diff/7001/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart File sdk/lib/_internal/compiler/implementation/lib/core_patch.dart (right): https://codereview.chromium.org/11417110/diff/7001/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart#newcode152 sdk/lib/_internal/compiler/implementation/lib/core_patch.dart:152: ...
8 years, 1 month ago (2012-11-22 11:26:48 UTC) #5
ahe
LGTM when you address Lasse's comment about this: $ ./xcodebuild/ReleaseIA32/d8 V8 version 3.13.7.5 [console: dumb] ...
8 years, 1 month ago (2012-11-22 12:54:45 UTC) #6
Emily Fortuna
Lasse, Peter, Uploaded a new version of the patch that addressed your comments.
8 years ago (2012-11-26 20:15:33 UTC) #7
ahe
8 years ago (2012-11-26 20:28:28 UTC) #8
Message was sent while issue was closed.
Thank you, Emily! LGTM

Powered by Google App Engine
This is Rietveld 408576698