RESOLVED FIXED 32505
in-browser SunSpider suffers excessive penalty under power management
https://bugs.webkit.org/show_bug.cgi?id=32505
Summary in-browser SunSpider suffers excessive penalty under power management
Maciej Stachowiak
Reported 2009-12-14 00:25:02 PST
For systems with active power management that perform significant CPU stepping, in-browser SunSpider gives results that are surprisingly slower than what one would expect from a command-line run against the pure engine, in the case of particularly fast JavaScript engines on fast hardware. The reason for this is that SunSpider in-browser pauses for 500ms between tests, thus the CPU never properly ramps up to speed when the tests take only a few milliseconds each. It would be better to have a much shorter pause, say 10ms, but then the harness needs to be redesigned to prevent networking and progress indicators from unduly disturbing the results.
Attachments
experimental patch (3.27 KB, patch)
2009-12-14 16:23 PST, Maciej Stachowiak
no flags
Patch (7.06 KB, patch)
2009-12-14 19:12 PST, Maciej Stachowiak
sam: review+
Maciej Stachowiak
Comment 1 2009-12-14 16:22:28 PST
This issue was originally reported by Mike Belshe here (his point #3): https://lists.webkit.org/pipermail/webkit-dev/2009-July/008723.html
Maciej Stachowiak
Comment 2 2009-12-14 16:23:08 PST
Created attachment 44828 [details] experimental patch
Maciej Stachowiak
Comment 3 2009-12-14 19:12:31 PST
Maciej Stachowiak
Comment 4 2009-12-14 19:27:49 PST
Note You need to log in before you can comment on or make changes to this bug.