-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A simple benchmark-ips script starts the finaliser thread and object sharing #2264
Comments
Right, that explains why it only happens on macOS then, it's due to the subprocesses of https://github.com/oracle/truffleruby/blob/634c0ae2517d04261b05e357b79da009eeac62ff/lib/truffle/truffle/openssl-prefix.rb. |
…sses (#2264) PullRequest: truffleruby/2436
8ca9852 avoids creating autorelease pointers for spawning subprocesses. It would be interesting to know how long Regarding having Pointer finalizers without an extra thread, that's something that probably makes more sense in Truffle, and NFI has a With the new Truffle safepoints it might also be possible to simply run all finalizers on the main Ruby thread, but I'm unsure if it's a good idea or not. |
Almost a second!
|
|
Right, so that's more like 20-30ms, seems worth optimizing the common case. |
3b05154 avoids that extra subprocess if Homebrew is in |
We should possibly:
The text was updated successfully, but these errors were encountered: