Title: gh-149718: Aggregate same stack frames in Tachyon in some collectors by maurycy · Pull Request #149719 · python/cpython · GitHub
Open Graph Title: gh-149718: Aggregate same stack frames in Tachyon in some collectors by maurycy · Pull Request #149719 · python/cpython
X Title: gh-149718: Aggregate same stack frames in Tachyon in some collectors by maurycy · Pull Request #149719 · python/cpython
Description: Please see gh-149718 for more details. On a MacBook M4, using test_asyncio since it has longer stacks (without --async-aware): Sample rate (samples/sec) Format main (c6fd7de) remote-debugger-batching (2864c275847) --pstats 31,161.59 103,657.01 --collapsed 57,302.45 102,350.22 --flamegraph 33,490.73 100,641.14 --gecko 31,346.37 98,031.88 --heatmap 14,960.64 97,607.28 --jsonl 24,554.56 98,018.93 Error rate (%) Format main (c6fd7de) remote-debugger-batching (2864c275847) --pstats 1.94 0.54 --collapsed 1.47 0.78 --flamegraph 1.77 0.57 --gecko 1.92 0.57 --heatmap 2.33 0.44 --jsonl 2.06 0.54 Missed samples (%) Format main (c6fd7de) remote-debugger-batching (2864c275847) --pstats 90.65 68.90 --collapsed 82.81 69.29 --flamegraph 89.95 69.81 --gecko 90.60 70.59 --heatmap 95.51 70.72 --jsonl 92.63 70.59 Bench mkdir -p /tmp/bench_results git checkout c6fd7de sudo -n ./python.exe -m profiling.sampling run -r 300khz --pstats -o /dev/null -m test test_asyncio 2>&1 | tee /tmp/bench_results/main_pstats.txt sudo -n ./python.exe -m profiling.sampling run -r 300khz --collapsed -o /dev/null -m test test_asyncio 2>&1 | tee /tmp/bench_results/main_collapsed.txt sudo -n ./python.exe -m profiling.sampling run -r 300khz --flamegraph -o /dev/null -m test test_asyncio 2>&1 | tee /tmp/bench_results/main_flamegraph.txt sudo -n ./python.exe -m profiling.sampling run -r 300khz --gecko -o /dev/null -m test test_asyncio 2>&1 | tee /tmp/bench_results/main_gecko.txt sudo -n ./python.exe -m profiling.sampling run -r 300khz --heatmap -o /tmp/heatmap_main -m test test_asyncio 2>&1 | tee /tmp/bench_results/main_heatmap.txt sudo -n ./python.exe -m profiling.sampling run -r 300khz --jsonl -o /dev/null -m test test_asyncio 2>&1 | tee /tmp/bench_results/main_jsonl.txt git checkout remote-debugger-batching sudo -n ./python.exe -m profiling.sampling run -r 300khz --pstats -o /dev/null -m test test_asyncio 2>&1 | tee /tmp/bench_results/batching_pstats.txt sudo -n ./python.exe -m profiling.sampling run -r 300khz --collapsed -o /dev/null -m test test_asyncio 2>&1 | tee /tmp/bench_results/batching_collapsed.txt sudo -n ./python.exe -m profiling.sampling run -r 300khz --flamegraph -o /dev/null -m test test_asyncio 2>&1 | tee /tmp/bench_results/batching_flamegraph.txt sudo -n ./python.exe -m profiling.sampling run -r 300khz --gecko -o /dev/null -m test test_asyncio 2>&1 | tee /tmp/bench_results/batching_gecko.txt sudo -n ./python.exe -m profiling.sampling run -r 300khz --heatmap -o /tmp/heatmap_batching -m test test_asyncio 2>&1 | tee /tmp/bench_results/batching_heatmap.txt sudo -n ./python.exe -m profiling.sampling run -r 300khz --jsonl -o /dev/null -m test test_asyncio 2>&1 | tee /tmp/bench_results/batching_jsonl.txt
Open Graph Description: Please see gh-149718 for more details. On a MacBook M4, using test_asyncio since it has longer stacks (without --async-aware): Sample rate (samples/sec) Format main (c6fd7de) remote-debugger-bat...
X Description: Please see gh-149718 for more details. On a MacBook M4, using test_asyncio since it has longer stacks (without --async-aware): Sample rate (samples/sec) Format main (c6fd7de) remote-debugger-bat...
Opengraph URL: https://github.com/python/cpython/pull/149719
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5324be07-214c-fcea-39fe-e504d8716666 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E0AE:23950F:273A667:3592408:6A5436E2 |
| html-safe-nonce | 881f480c99bbfc9d2eadf9c93ea33244882e62dff5ab6d54f560ec5e8f405a5c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEFFOjIzOTUwRjoyNzNBNjY3OjM1OTI0MDg6NkE1NDM2RTIiLCJ2aXNpdG9yX2lkIjoiNzU4NjA5NzQyMTI3MDM5ODY5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e6c1fb4e3e5ac1456c1bd63d213e6f3ae12425769adc3ad573c23d833b85d922 |
| hovercard-subject-tag | pull_request:3668116257 |
| 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/149719/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 | Please see gh-149718 for more details. On a MacBook M4, using test_asyncio since it has longer stacks (without --async-aware): Sample rate (samples/sec) Format main (c6fd7de) remote-debugger-bat... |
| 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