[Webkit-unassigned] [Bug 38142] New: RegExp caching

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 26 14:35:58 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38142

           Summary: RegExp caching
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hodovan.renata at stud.u-szeged.hu
                CC: zherczeg at webkit.org


Now if we create a new RegExp object in jsc - even if with the same
patternString - jsc calls the create and compile methods again and again.
We could avoid that with regexp-caching. I have a patch to solve it. I used
round robin regex-policy. 
With this extension the ss runtime results didn't changed significant (8 **
TOTAL **: - 630.7ms +/- 0.4%   628.9ms +/- 0.3%). However by the Windscorpion's
ws-email performance test run 2.61x fast (2658ms +/- 2% -> 1016ms +/- 2%).
(130128 hit and 6 miss event).
No new regression.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list