Summary: | Avoid timing IO in SunSpider | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Paul Biggar <pbiggar> | ||||
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | mjs | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | OS X 10.5 | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 43253 | ||||||
Attachments: |
|
Description
Paul Biggar
2010-07-30 09:24:14 PDT
Created attachment 63759 [details]
Use eval() and read() instead of load()
Use read() and eval() instead of load(). Currently, only v8 supports read(), but I'm adding it to SpiderMonkey, and it is a simple change to jsc, as far as I can tell.
This is indirectly fixed here: 2010-11-29 Geoffrey Garen <ggaren@apple.com> Improved accuracy of command-line SunSpider. Since run() loads the file before the timer is started, there's no need for this patch. |