[Webkit-unassigned] [Bug 251261] Large allocations in a tight loop perform poorly when using the JavaScriptCore C and Objective-C APIs
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jan 29 23:51:17 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=251261
--- Comment #2 from Kasper Isager Dalsgarð <kasperisager at hey.com> ---
I think so, yes, but I'm unsure how to verify that's it's actually working:
```
$ codesign --display --entitlements - a.out
Executable=<cwd>/a.out
[Dict]
[Key] com.apple.security.cs.allow-jit
[Value]
[Bool] true
```
Code signed with the following command:
```
$ codesign --force --options runtime --sign <key> --entitlements entitlements.plist a.out
```
I don't know if it provides any clues, but reducing the size of each allocation to just 1 KiB instead of 64 KiB makes my test program perform similar to Safari and jsc. What kind of optimisations would the JIT be able to do for larger allocations?
--
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/20230130/c2c26615/attachment-0001.htm>
More information about the webkit-unassigned
mailing list