Title: The GIL release/reaquire accounts for a lot of time for short running calls to foreign functions · Issue #576 · oracle/graalpython · GitHub
Open Graph Title: The GIL release/reaquire accounts for a lot of time for short running calls to foreign functions · Issue #576 · oracle/graalpython
X Title: The GIL release/reaquire accounts for a lot of time for short running calls to foreign functions · Issue #576 · oracle/graalpython
Description: From Slack: floweynt Aug 20th at 12:31 AM Is there a way to speed up graalpy's GilNode? I have a single threaded application and foreign calls unlock/relock the GIL which is incredibly slow. This is with asprof with debug non safepoints ...
Open Graph Description: From Slack: floweynt Aug 20th at 12:31 AM Is there a way to speed up graalpy's GilNode? I have a single threaded application and foreign calls unlock/relock the GIL which is incredibly slow. This i...
X Description: From Slack: floweynt Aug 20th at 12:31 AM Is there a way to speed up graalpy's GilNode? I have a single threaded application and foreign calls unlock/relock the GIL which is incredibly slow. Th...
Opengraph URL: https://github.com/oracle/graalpython/issues/576
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The GIL release/reaquire accounts for a lot of time for short running calls to foreign functions","articleBody":"From Slack:\n\nfloweynt [Aug 20th at 12:31 AM](https://graalvm.slack.com/archives/CNA7PDH2N/p1755642683559369)\nIs there a way to speed up graalpy's GilNode? I have a single threaded application and foreign calls unlock/relock the GIL which is incredibly slow.\nThis is with asprof with debug non safepoints so should be fairly accurate.\n\n\u003cimg width=\"720\" height=\"188\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/3a904547-9b31-4f17-a891-237f00dfb77a\" /\u003e","author":{"url":"https://github.com/timfel","@type":"Person","name":"timfel"},"datePublished":"2025-12-11T12:14:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/576/graalpython/issues/576"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5b52cc8b-877f-76c6-ac2f-05ed2d874cc5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ED48:225E33:CDB239:1141F37:696987C3 |
| html-safe-nonce | d2404604eebba636238ad94ad8fda15d39e70e56df6c21a98625d6baa998283b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDQ4OjIyNUUzMzpDREIyMzk6MTE0MUYzNzo2OTY5ODdDMyIsInZpc2l0b3JfaWQiOiIyODUyMzI4MTY4NjE5NjA4MDAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 404efb2c739f385bdd723f1f1e40182127cdace7faa7a1ccbf3a0fb2f60599f2 |
| hovercard-subject-tag | issue:3719144729 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/oracle/graalpython/576/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2913256ec03e9deec261246c8653e17437c9e43e4988d2e6c7f935629c2592ba/oracle/graalpython/issues/576 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2913256ec03e9deec261246c8653e17437c9e43e4988d2e6c7f935629c2592ba/oracle/graalpython/issues/576 |
| og:image:alt | From Slack: floweynt Aug 20th at 12:31 AM Is there a way to speed up graalpy's GilNode? I have a single threaded application and foreign calls unlock/relock the GIL which is incredibly slow. This i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timfel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 533e7cac596c452090972c1150d587fd0b36531b8dc4e8bbfe4ab694aca02408 |
| turbo-cache-control | no-preview |
| go-import | github.com/oracle/graalpython git https://github.com/oracle/graalpython.git |
| octolytics-dimension-user_id | 4430336 |
| octolytics-dimension-user_login | oracle |
| octolytics-dimension-repository_id | 129883600 |
| octolytics-dimension-repository_nwo | oracle/graalpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 129883600 |
| octolytics-dimension-repository_network_root_nwo | oracle/graalpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 63d27af10eea2ccab520b162530cf6c7b739e767 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width