[Webkit-unassigned] [Bug 258660] private class members are much, much slower than public members
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 3 18:05:25 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=258660
--- Comment #4 from Jarred Sumner <jarred at jarredsumner.com> ---
I've attached a microbenchmark that can be run from the jsc shell directly.
```
❯ jsc -m out.js
cpu: unknown
runtime: unknown (unknown)
benchmark time (avg) (min … max) p75 p99 p995
------------------------------------------------------------ -----------------------------
Polyfillprivate 81.76 ms/iter (79.48 ms … 84.84 ms) 82.04 ms 84.84 ms 84.84 ms
NativePrivates 41.32 ms/iter (40.31 ms … 43.61 ms) 41.76 ms 43.61 ms 43.61 ms
ConventionalPrivates 919.52 µs/iter (619.67 µs … 2.65 ms) 780.25 µs 1.95 ms 1.96 ms
```
--
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/20230804/8081d1b3/attachment.htm>
More information about the webkit-unassigned
mailing list