WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
64652
Some regexps are much slower in jsc than in v8
https://bugs.webkit.org/show_bug.cgi?id=64652
Summary
Some regexps are much slower in jsc than in v8
Oliver Hunt
Reported
2011-07-16 12:09:33 PDT
Mozilla has a bug report (
https://bugzilla.mozilla.org/show_bug.cgi?id=672064
) showing us to be an order of magnitude or so slower than V8. RegExps are being blamed, but there's no sample so it could be something else. Currently though i'll assume regexp's are at fault.
Attachments
screenshot of profilers
(127.48 KB, image/png)
2011-07-16 13:16 PDT
,
Robert Sayre
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Robert Sayre
Comment 1
2011-07-16 13:16:26 PDT
Created
attachment 101096
[details]
screenshot of profilers Here's some profiles from the WebKit tools. Chrome is the top one. I checked modified the file to have an init() function, and measured 15ms in Chrome, 150ms in Safari. Here's the patch to the JS file:
https://gist.github.com/1086653
Geoffrey Garen
Comment 2
2011-07-18 17:30:50 PDT
<
rdar://problem/9797296
>
Ahmad Saleem
Comment 3
2024-04-06 10:46:39 PDT
Test Case -
https://bug672064.bmoattachments.org/attachment.cgi?id=546345
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug