Bug 64652

Summary: Some regexps are much slower in jsc than in v8
Product: WebKit Reporter: Oliver Hunt <oliver>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, ashvayka, ggaren, msaboff, sayrer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://bugzilla.mozilla.org/show_bug.cgi?id=672064
Attachments:
Description Flags
screenshot of profilers none

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
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
Ahmad Saleem
Comment 3 2024-04-06 10:46:39 PDT
Note You need to log in before you can comment on or make changes to this bug.