[Webkit-unassigned] [Bug 249217] New: Optimize StringImpl::lower() for 8-bit strings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 13 05:37:44 PST 2022


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

            Bug ID: 249217
           Summary: Optimize StringImpl::lower() for 8-bit strings
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com

Hi Team,

While going through Blink's commit - I found another potential optimization which might be or might not be something important needed in Webkit.

I just wanted to get an opinion so raising this as a bug.

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/1be141ec1dd0fd7d34ea76d5dfd44efda521f09f

Performance Test Case - https://jsfiddle.net/s057bomc/

*** Safari 16.1 ***

Time:
values 422.16358839050105, 418.84816753926754, 419.94750656168003, 421.05263157894734, 419.9475065616798, 419.9475065616798, 421.05263157894785, 421.60737812911725, 421.05263157894734, 422.16358839050133, 422.16358839050133, 421.60737812911725, 423.2804232804233, 419.9475065616788, 422.72126816380654, 419.3971166448231, 424.4031830238737, 422.7212681638055, 420.4993429697766, 422.72126816380654 runs/s
avg 421.36227401814403 runs/s
median 421.33000485403255 runs/s
stdev 1.4461312032824363 runs/s
min 418.84816753926754 runs/s
max 424.4031830238737 runs/s

*** Chrome Canary 110 ***

Time:
values 1524.9112659631633, 1522.309710928858, 1533.782890121479, 1534.7975654693091, 1540.0955919208254, 1541.9380564797448, 1541.7331209736133, 1539.0739022291139, 1539.6867531897585, 1533.9857179672756, 1530.9489246413536, 1540.9139215798646, 1540.504647830488, 1540.9139212138487, 1542.1430470863916, 1535.407015706247, 1539.2781319513604, 1538.869726693626, 1532.3645967318255, 1540.913921335854 runs/s
avg 1536.7286215007 runs/s
median 1539.176017090237 runs/s
stdev 5.65061932398092 runs/s
min 1522.309710928858 runs/s
max 1542.1430470863916 runs/s

*** Firefox Nightly 109 ***


Time:
values 645.9627329192547, 650.8135168961202, 717.9487179487179, 704.4025157232704, 705.2896725440806, 650.8135168961202, 658.2278481012659, 651.6290726817043, 650.8135168961202, 706.1790668348045, 714.2857142857143, 705.2896725440806, 716.1125319693094, 716.1125319693094, 685.1119894598155, 700, 677.9661016949152, 718.8703465982028, 717.9487179487179, 706.1790668348045 runs/s
avg 689.9978425373165 runs/s
median 704.8460941336755 runs/s
stdev 27.951382058079524 runs/s
min 645.9627329192547 runs/s
max 718.8703465982028 runs/s


*** Safari Technology Preview 159 ***

Time:
values 416.6666666666669, 415.0453955901427, 417.75456919060076, 415.0453955901432, 418.3006535947707, 417.209908735331, 417.20990873533344, 417.7545691906, 417.20990873533344, 419.9475065616778, 421.0526315789494, 421.05263157894535, 417.20990873533344, 414.5077720207254, 418.30065359477123, 414.5077720207254, 416.66666666666566, 415.0453955901427, 414.5077720207254, 418.30065359477123 runs/s
avg 417.1648169996177 runs/s
median 417.20990873533344 runs/s
stdev 2.0222382228721028 runs/s
min 414.5077720207254 runs/s
max 421.0526315789494 runs/s

_____

Just wanted to raise this bug so something can be tracked or discussed.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221213/44c33c4b/attachment-0001.htm>


More information about the webkit-unassigned mailing list