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

Issue 6547001: Update the animation callback histogram to measure only the delay between post and invocation (Closed)

Created:
9 years, 10 months ago by jamesr
Modified:
9 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Update the animation callback histogram to measure only the delay between post and invocation This avoids abusing a histogram to keep both counts and times (this histogram stores only times) and lets us see the full distribution. BUG=71256 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=75447

Patch Set 1 #

Total comments: 6

Patch Set 2 : patch for landing (to run through trybots, no review needed) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -29 lines) Patch
M chrome/renderer/render_widget.cc View 1 1 chunk +42 lines, -29 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
jamesr
9 years, 10 months ago (2011-02-18 02:47:17 UTC) #1
jar (doing other things)
I'm convinced that the histograms are what we talked about... so LGTM. I had a ...
9 years, 10 months ago (2011-02-18 07:31:29 UTC) #2
jamesr
On 2011/02/18 07:31:29, jar wrote: > I'm convinced that the histograms are what we talked ...
9 years, 10 months ago (2011-02-18 20:42:05 UTC) #3
jamesr
9 years, 10 months ago (2011-02-18 20:43:24 UTC) #4
>
http://codereview.chromium.org/6547001/diff/1/chrome/renderer/render_widget.c...
> chrome/renderer/render_widget.cc:525: int64 delay = (animation_floor_time_ -
> now).InMillisecondsRoundedUp();
> Comment: It is interesting that delay could be as small as 1 ms.  Considering
> that the resolution of the time is rarely that fine, it is not clear that
> setting such a small delay is helpful (though I know you're worried about
early
> firing, rather than late firing).

This is a good point, but I'm not yet sure if having any particular delay other
than 1ms makes more or less sense.  My hope is that seeing this distribution in
the wild will make it clearer what the proper behavior is.

Powered by Google App Engine
This is Rietveld 408576698