Closed
Bug 563564
Opened 14 years ago
Closed 14 years ago
TM: Investigate benchmark regexp execution time
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: cdleary, Assigned: cdleary)
Details
Attachments
(2 files)
3.66 KB,
patch
|
Details | Diff | Splinter Review | |
10.02 KB,
text/plain
|
Details |
V8 w/JIT: compiled: 46ms (268635 data points) uncompiled: 343ms (309420 data points) V8 w/o JIT: compiled: 0ms (0 data points) uncompiled: 507ms (578055 data points) Indicates a 3.6x speedup on JITted regexps. SunSpider w/JIT: compiled: 17ms (5310 data points) uncompiled: 32ms (95648 data points) SunSpider w/o JIT: compiled: 0ms (0 data points) uncompiled: 132ms (100920 data points) Indicates a 5.9x speedup on JITted regexps. List of top uncompiled culprits soon to follow...
Assignee | ||
Comment 1•14 years ago
|
||
Assignee | ||
Comment 2•14 years ago
|
||
Scores on v8-regexp: moz-central nightly: 183 webkit nightly: 1065 chrome for mac beta: 1431
Assignee | ||
Comment 3•14 years ago
|
||
Regular expression execution times sorted by milliseconds spent in them, descending.
Assignee | ||
Comment 4•14 years ago
|
||
(In reply to comment #3) > by milliseconds spent in them, Er, make that microseconds. Upon further reflection, I do not have a 2.9MHz CPU.
Assignee | ||
Comment 5•14 years ago
|
||
Marking as resolved.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 6•14 years ago
|
||
Whats your total sunspider time? I am trying to figure out what % of time we spend in regexp of a total SS score. That shows us the max speedup we can obtain from this.
Assignee | ||
Comment 7•14 years ago
|
||
With JIT: ~443ms Without JIT: ~1374ms Numbers have probably changed a little since I took those measurements, but not by much. So about 7% time spent in uncompiled regexps. We could shave an estimated 26.5ms off of the total time with all compiled regexps at the same projected speedup (5.9x) -- that's idealized because the regexps we'd be compiling would be significantly more complex.
You need to log in
before you can comment on or make changes to this bug.
Description
•