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

Issue 154263010: Initialize the frequeny once and use it, avoid calling a native method every (Closed)

Created:
6 years, 10 months ago by siva
Modified:
6 years, 10 months ago
Reviewers:
zra, Søren Gjesse, kasperl
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Initialize the frequeny once and use it, avoid calling a native method every time the frequency is needed. R=kasperl@google.com, sgjesse@google.com, zra@google.com Committed: https://code.google.com/p/dart/source/detail?r=32659

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -5 lines) Patch
M sdk/lib/core/stopwatch.dart View 1 2 3 3 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
siva
6 years, 10 months ago (2014-02-12 00:09:34 UTC) #1
zra
lgtm
6 years, 10 months ago (2014-02-12 00:20:34 UTC) #2
Søren Gjesse
lgtm
6 years, 10 months ago (2014-02-12 07:36:10 UTC) #3
kasperl
Does *not* look good to me. https://codereview.chromium.org/154263010/diff/1/sdk/lib/core/stopwatch.dart File sdk/lib/core/stopwatch.dart (right): https://codereview.chromium.org/154263010/diff/1/sdk/lib/core/stopwatch.dart#newcode14 sdk/lib/core/stopwatch.dart:14: int frequency; This ...
6 years, 10 months ago (2014-02-12 07:43:26 UTC) #4
kasperl
https://codereview.chromium.org/154263010/diff/1/sdk/lib/core/stopwatch.dart File sdk/lib/core/stopwatch.dart (right): https://codereview.chromium.org/154263010/diff/1/sdk/lib/core/stopwatch.dart#newcode14 sdk/lib/core/stopwatch.dart:14: int frequency; On 2014/02/12 07:43:26, kasperl wrote: > This ...
6 years, 10 months ago (2014-02-12 07:44:16 UTC) #5
kasperl
https://codereview.chromium.org/154263010/diff/1/sdk/lib/core/stopwatch.dart File sdk/lib/core/stopwatch.dart (right): https://codereview.chromium.org/154263010/diff/1/sdk/lib/core/stopwatch.dart#newcode130 sdk/lib/core/stopwatch.dart:130: external static int _frequency(); You could also use a ...
6 years, 10 months ago (2014-02-12 07:57:02 UTC) #6
siva
PTAL. https://codereview.chromium.org/154263010/diff/1/sdk/lib/core/stopwatch.dart File sdk/lib/core/stopwatch.dart (right): https://codereview.chromium.org/154263010/diff/1/sdk/lib/core/stopwatch.dart#newcode14 sdk/lib/core/stopwatch.dart:14: int frequency; On 2014/02/12 07:43:26, kasperl wrote: > ...
6 years, 10 months ago (2014-02-13 01:16:50 UTC) #7
kasperl
LGTM! https://codereview.chromium.org/154263010/diff/120001/sdk/lib/core/stopwatch.dart File sdk/lib/core/stopwatch.dart (right): https://codereview.chromium.org/154263010/diff/120001/sdk/lib/core/stopwatch.dart#newcode32 sdk/lib/core/stopwatch.dart:32: Stopwatch() {} No need for the {}. You ...
6 years, 10 months ago (2014-02-13 06:17:09 UTC) #8
siva
https://codereview.chromium.org/154263010/diff/120001/sdk/lib/core/stopwatch.dart File sdk/lib/core/stopwatch.dart (right): https://codereview.chromium.org/154263010/diff/120001/sdk/lib/core/stopwatch.dart#newcode32 sdk/lib/core/stopwatch.dart:32: Stopwatch() {} On 2014/02/13 06:17:09, kasperl wrote: > No ...
6 years, 10 months ago (2014-02-13 17:06:39 UTC) #9
siva
6 years, 10 months ago (2014-02-13 17:06:52 UTC) #10
Message was sent while issue was closed.
Committed patchset #5 manually as r32659 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698