Title: Reduce per-instruction overhead in interpreter loop by youknowone · Pull Request #7315 · RustPython/RustPython · GitHub
Open Graph Title: Reduce per-instruction overhead in interpreter loop by youknowone · Pull Request #7315 · RustPython/RustPython
X Title: Reduce per-instruction overhead in interpreter loop by youknowone · Pull Request #7315 · RustPython/RustPython
Description: close #5281 Defer prev_line update to when tracing is active Inline skip_caches_if_fallthrough, compute cache_entries once per instruction Unmark test_pdb_set_trace EXPECTED_FAILURE (now passing due to prev_line fix) Note: Moving check_signals to JumpBackward only was attempted but reverted — it broke signal delivery in non-loop code (test_signal, test_io, test_faulthandler). Summary by CodeRabbit Refactor Optimized virtual machine instruction cache handling and streamlined tracing logic for improved consistency and performance across execution paths.
Open Graph Description: close #5281 Defer prev_line update to when tracing is active Inline skip_caches_if_fallthrough, compute cache_entries once per instruction Unmark test_pdb_set_trace EXPECTED_FAILURE (now passing d...
X Description: close #5281 Defer prev_line update to when tracing is active Inline skip_caches_if_fallthrough, compute cache_entries once per instruction Unmark test_pdb_set_trace EXPECTED_FAILURE (now passing d...
Opengraph URL: https://github.com/RustPython/RustPython/pull/7315
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1245836a-d3ed-d023-4734-627229c8b059 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B6B8:30460E:8B3E1:B0BDB:6A5BE3BF |
| html-safe-nonce | 830387005830bb16f2148995ab2516eabff78c3cc02c32712e05103cc6d7c32f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkI4OjMwNDYwRTo4QjNFMTpCMEJEQjo2QTVCRTNCRiIsInZpc2l0b3JfaWQiOiI0Njk1NjUzNzk5MDc5Njk5MzkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8f60646429ea41e3c906d417ce2c6b5bed81f44bfbb422795db827ea526923c8 |
| hovercard-subject-tag | pull_request:3343695953 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/RustPython/RustPython/pull/7315/files |
| twitter:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| og:image:alt | close #5281 Defer prev_line update to when tracing is active Inline skip_caches_if_fallthrough, compute cache_entries once per instruction Unmark test_pdb_set_trace EXPECTED_FAILURE (now passing d... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width