[Webkit-unassigned] [Bug 15900] New: 15% of string-validate-input.js is spent compiling the same regular expression
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 8 13:02:36 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=15900
Summary: 15% of string-validate-input.js is spent compiling the
same regular expression
Product: WebKit
Version: 525+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: eric at webkit.org
CC: ggaren at apple.com
BugsThisDependsOn: 15861
15% of string-validate-input.js is spent compiling the same regular expression
I thought that ggaren fixed this with 15861, but it seems not. Unless I'm
somehow missing his change in my git-repo.
I tried moving "pattern" outside of the loop in string-validate-input.js and
saw a 15% speed increase. Looking at the shark sample, we're still spending
all our time compiling the regexp. Maybe the patch he landed as part of the
old bug was just the "first step in the right direction". Well, here is a bug
to cover the other steps. :)
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list