Improved painting behavior in SunSpider 1.0.2
authorggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Oct 2013 04:25:53 +0000 (04:25 +0000)
committerggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Oct 2013 04:25:53 +0000 (04:25 +0000)
commit346c6403288fc56f90630898fd0c7ba51c7c38df
tree8833d2a2f6f133279ae6dcfd3b0e096d84501f21
parente2d07296d5a0eb2a45dd942acae3f6e73d354a07
Improved painting behavior in SunSpider 1.0.2
https://bugs.webkit.org/show_bug.cgi?id=122257

Reviewed by Oliver Hunt.

Individual test names with times was a good painting strategy years
back, when each benchmark took hundreds of milliseconds to run. Now,
the whole suite can finish in a a few hundres milliseconds, and things
look pretty flashy.

Instead, display a countdown that indicates which iteration of the
test we're on.

* resources/TEMPLATE.html: Work around a bug in Firefox by specifying
our style inside the .html file instead of in an external stylesheet.
Under heavy JavaScript load, Firefox neglects to apply external
stylesheets -- probably due to a starved timer.

* resources/driver-TEMPLATE.html: Delay a little between runs to ensure
that our countdown has enough time to paint.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156820 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/SunSpider/ChangeLog
PerformanceTests/SunSpider/resources/TEMPLATE.html
PerformanceTests/SunSpider/resources/driver-TEMPLATE.html