bitops-bitwise-and.js in SunSpider is misleading
https://bugs.webkit.org/show_bug.cgi?id=20547
Summary bitops-bitwise-and.js in SunSpider is misleading
Feng Qian
Reported 2008-08-27 11:42:28 PDT
I run the test, most time were spent on accessing a global variable (read and write): bitwiseAndValue. If we move the code into a function and declare bitwiseAndValue be a local, the execution is reduced from 72ms to 10ms. To make the benchmark name accurate, either it should be renamed to 'access' category as Maciej suggested, or move the code into a function and declare the varaible as a local.
Attachments
Maciej Stachowiak
Comment 1 2010-02-28 14:25:56 PST
We should fix this for SunSpider 2.0.
Note You need to log in before you can comment on or make changes to this bug.