Title: Add canonical offline sampling profiler tests by youknowdot · Pull Request #9360 · RustPython/RustPython · GitHub
Open Graph Title: Add canonical offline sampling profiler tests by youknowdot · Pull Request #9360 · RustPython/RustPython
X Title: Add canonical offline sampling profiler tests by youknowdot · Pull Request #9360 · RustPython/RustPython
Description: Summary Split two canonical sampling-profiler test modules from #8954, covering functionality already present after #9340. Import test_async.py and test_profiler.py unchanged from CPython 3.15.0 (d220409a13b77de7a6c30abe16ea90db01528edc) using scripts/update_lib migrate. Add coverage for synthetic async task-graph reconstruction, collector aggregation, and sampled-statistics rendering. No production code, test assertions, skips, or expected-failure markers are changed. Validation All 37 selected existing tests passed: 22 async graph/signature tests and 15 statistics-rendering tests, using four complete classes through unittest -v -f. Reused the Linux release binary built at 9bd84b2f. The branch is based on ef6e2dba; source and normalized dependency comparison confirmed its relevant Linux inputs are unchanged. This is not a new build or validation of the macOS-only mach2 update. Both files remain byte-identical to upstream after a second migration and normal commit hooks. The other 14 mocked profiler-lifecycle methods in the canonical file were not run locally. No live profiling, full profiler package, workspace or C-API suite result is claimed. AI assistance: OpenAI Codex (model version unavailable).
Open Graph Description: Summary Split two canonical sampling-profiler test modules from #8954, covering functionality already present after #9340. Import test_async.py and test_profiler.py unchanged from CPython 3.15.0 (...
X Description: Summary Split two canonical sampling-profiler test modules from #8954, covering functionality already present after #9340. Import test_async.py and test_profiler.py unchanged from CPython 3.15.0 (...
Opengraph URL: https://github.com/RustPython/RustPython/pull/9360
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:23ac8739-fd4f-95de-73b8-3576dd4dd55d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CC42:2C4BED:3A9AE14:4A6CD8B:6B01FE60 |
| html-safe-nonce | f3af5987bc8291c59257728a003fb2fd1243b82b2e1f3c48cfbd18b7a98f7ad3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzQyOjJDNEJFRDozQTlBRTE0OjRBNkNEOEI6NkIwMUZFNjAiLCJ2aXNpdG9yX2lkIjoiOTE1NDMwNTA2NDcwMDA4MzgwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9ef4b13b009914b81d5a643715285236704d4ab17fa038bfcf62bbc1b86bd082 |
| hovercard-subject-tag | pull_request:5002948199 |
| 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/9360/files |
| twitter:image | https://avatars.githubusercontent.com/u/336763669?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/336763669?s=400&v=4 |
| og:image:alt | Summary Split two canonical sampling-profiler test modules from #8954, covering functionality already present after #9340. Import test_async.py and test_profiler.py unchanged from CPython 3.15.0 (... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width