Skip to content

Commit

Permalink
Up the new tab paint observer timeout from 2s to 5s. Trying to see
Browse files Browse the repository at this point in the history
if this gets us more accurate data on new tab times.

BUG=21398

TBR=evanm (ok'ed in person)

Review URL: http://codereview.chromium.org/257052

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28050 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
tony@chromium.org committed Oct 5, 2009
1 parent edbbb07 commit 41b3ae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chrome/browser/dom_ui/new_tab_ui.cc
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ class PaintTimer : public RenderWidgetHost::PaintObserver {

private:
// The amount of time there must be no painting for us to consider painting
// finished. Observed times are in the ~1200ms range.
static const int kTimeoutMs = 2000;
// finished. Observed times are in the ~1200ms range on Windows.
static const int kTimeoutMs = 5000;
// The time when we started benchmarking.
base::TimeTicks start_;
// The last time we got a paint notification.
Expand Down

0 comments on commit 41b3ae9

Please sign in to comment.