Title: gh-149584: Use `mach_vm_remap` in Tachyon by maurycy · Pull Request #150893 · python/cpython · GitHub
Open Graph Title: gh-149584: Use `mach_vm_remap` in Tachyon by maurycy · Pull Request #150893 · python/cpython
X Title: gh-149584: Use `mach_vm_remap` in Tachyon by maurycy · Pull Request #150893 · python/cpython
Description: @pablogsal This is a sneak peak. I'm cooking it for the past two weeks. It's not bad: Metric Baseline (main 025cc26) This PR Change Work rate 339,576.5 calls/sec 2,925,619.9 calls/sec 8.61x faster Sample rate 325,989.3 samples/sec 2,202,278.0 samples/sec 6.76x faster Avg call time 2.94 µs 0.34 µs -88.4% Total attempts 979,732 6,612,442 6.75x more Successful samples 977,970 6,606,845 - Failed samples 1,762 5,597 - Success rate 99.82% 99.92% +0.10 pp Work efficiency 96.2% 75.3% - 2026-06-04T00:00:55.450053000+0200 maurycy@gimel /Users/maurycy/src/github.com/maurycy/cpython (vmremap 25e012d) % sudo ./python.exe Tools/inspection/benchmark_external_inspection.py --duration 3 [...] Basic Statistics: Wall time: 3.000 seconds Total attempts: 6,612,442 Successful samples: 6,606,845 Failed samples: 5,597 Success rate: 99.92% Performance Metrics: Average call time: 0.34 µs Work rate: 2925619.9 calls/sec Sample rate: 2202278.0 samples/sec Total work time: 2.260 seconds Work efficiency: 75.3% v. 2026-06-04T00:03:25.240297000+0200 maurycy@gimel /Users/maurycy/work/cpython-main (main 025cc26) % sudo ./python.exe Tools/inspection/benchmark_external_inspection.py --duration 3 ============================================================ get_stack_trace() Benchmark Results ============================================================ Basic Statistics: Wall time: 3.000 seconds Total attempts: 979,732 Successful samples: 977,970 Failed samples: 1,762 Success rate: 99.82% Performance Metrics: Average call time: 2.94 µs Work rate: 339576.5 calls/sec Sample rate: 325989.3 samples/sec Total work time: 2.885 seconds Work efficiency: 96.2% Issue: gh-149584
Open Graph Description: @pablogsal This is a sneak peak. I'm cooking it for the past two weeks. It's not bad: Metric Baseline (main 025cc26) This PR Change Work rate 339,576.5 calls/sec 2,925,619.9 calls/se...
X Description: @pablogsal This is a sneak peak. I'm cooking it for the past two weeks. It's not bad: Metric Baseline (main 025cc26) This PR Change Work rate 339,576.5 calls/sec 2,925,619.9 ...
Opengraph URL: https://github.com/python/cpython/pull/150893
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:bf13c1db-5eac-5c9f-51e1-08716290a3d7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D54C:240794:1C8417:24F4A4:6A52F0B9 |
| html-safe-nonce | 7ff752e9d7117c046069d5560014ec5c181133ed8fe2d26295d44aaafb0928fe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTRDOjI0MDc5NDoxQzg0MTc6MjRGNEE0OjZBNTJGMEI5IiwidmlzaXRvcl9pZCI6IjIzNzgyMzE2NTY4MTk2NTA3NDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 164ea90d62d721e160079a9e6a64d66106edce144011ab431c98f8959f7a0ed2 |
| hovercard-subject-tag | pull_request:3798958575 |
| 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/python/cpython/pull/150893/files |
| twitter:image | https://avatars.githubusercontent.com/u/5383?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5383?s=400&v=4 |
| og:image:alt | @pablogsal This is a sneak peak. I'm cooking it for the past two weeks. It's not bad: Metric Baseline (main 025cc26) This PR Change Work rate 339,576.5 calls/sec 2,925,619.9 calls/se... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width