Summary: | match limit takes at least 13% of the time on the SunSpider regexp-dna test | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Darin Adler <darin> | ||||
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Enhancement | CC: | ap, darin, eric, ggaren, mjs, zwarich | ||||
Priority: | P3 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
Attachments: |
|
Description
Darin Adler
2007-12-18 10:54:28 PST
Created attachment 21408 [details]
2.3% improvement
Removing the check altogether is a 9.5% win on my machine.
I guess this micro-optimization is unnecessary if someone has a real fix in mind, but I thought it was worth posting anyway.
Comment on attachment 21408 [details]
2.3% improvement
r=me
I'm not sure anyone has a handle on a "real fix".
Alexey, are you going to land this? I'm trying to land this periodically, but random code generation changes elsewhere cause it to be a regression overall now. One of these days, I'll get lucky and have it landed. Comment on attachment 21408 [details] 2.3% improvement Landed in r34480, clearing review flag. Today, the win on regexp-dna was only 0.6%, but the total win was huge (0.5%), apparently due to random code generation changes. Something was landed here, so marking fixed. The rest of the bug is likely long obsolete. |