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

Issue 858973002: - Reduce the amount of messages being sent for Timer.run(). (Closed)

Created:
5 years, 11 months ago by Ivan Posva
Modified:
5 years, 11 months ago
Reviewers:
zra, Søren Gjesse
CC:
reviews_dartlang.org, Lasse Reichstein Nielsen
Visibility:
Public.

Description

- Reduce the amount of messages being sent for Timer.run(). - Fast exit for empty timer queues. R=sgjesse@google.com, zra@google.com Committed: https://code.google.com/p/dart/source/detail?r=43015

Patch Set 1 #

Total comments: 10
Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -45 lines) Patch
M sdk/lib/io/timer_impl.dart View 6 chunks +71 lines, -45 lines 10 comments Download

Messages

Total messages: 6 (1 generated)
Ivan Posva
5 years, 11 months ago (2015-01-20 09:26:39 UTC) #2
zra
lgtm https://codereview.chromium.org/858973002/diff/1/sdk/lib/io/timer_impl.dart File sdk/lib/io/timer_impl.dart (right): https://codereview.chromium.org/858973002/diff/1/sdk/lib/io/timer_impl.dart#newcode309 sdk/lib/io/timer_impl.dart:309: assert(!_heap.isEmpty); Why is this assert needed? https://codereview.chromium.org/858973002/diff/1/sdk/lib/io/timer_impl.dart#newcode315 sdk/lib/io/timer_impl.dart:315: ...
5 years, 11 months ago (2015-01-20 15:23:34 UTC) #3
Søren Gjesse
lgtm https://codereview.chromium.org/858973002/diff/1/sdk/lib/io/timer_impl.dart File sdk/lib/io/timer_impl.dart (right): https://codereview.chromium.org/858973002/diff/1/sdk/lib/io/timer_impl.dart#newcode293 sdk/lib/io/timer_impl.dart:293: if (_heap.isEmpty && (_firstZeroTimer == null)) { maybe ...
5 years, 11 months ago (2015-01-20 15:36:27 UTC) #4
Ivan Posva
Thanks! -Ivan https://codereview.chromium.org/858973002/diff/1/sdk/lib/io/timer_impl.dart File sdk/lib/io/timer_impl.dart (right): https://codereview.chromium.org/858973002/diff/1/sdk/lib/io/timer_impl.dart#newcode293 sdk/lib/io/timer_impl.dart:293: if (_heap.isEmpty && (_firstZeroTimer == null)) { ...
5 years, 11 months ago (2015-01-20 16:01:17 UTC) #5
Ivan Posva
5 years, 11 months ago (2015-01-20 16:02:37 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as r43015 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698