Title: Tachyon: use bounded columnar blocks for binary profiles · Issue #159207 · python/cpython · GitHub
Open Graph Title: Tachyon: use bounded columnar blocks for binary profiles · Issue #159207 · python/cpython
X Title: Tachyon: use bounded columnar blocks for binary profiles · Issue #159207 · python/cpython
Description: Tachyon currently stores samples in one compressed stream. The reader decompresses the whole sample section before replay, so long captures need a large allocation. I propose small blocks with separate columns for thread and interpreter ...
Open Graph Description: Tachyon currently stores samples in one compressed stream. The reader decompresses the whole sample section before replay, so long captures need a large allocation. I propose small blocks with sepa...
X Description: Tachyon currently stores samples in one compressed stream. The reader decompresses the whole sample section before replay, so long captures need a large allocation. I propose small blocks with sepa...
Opengraph URL: https://github.com/python/cpython/issues/159207
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tachyon: use bounded columnar blocks for binary profiles","articleBody":"Tachyon currently stores samples in one compressed stream. The reader decompresses the whole sample section before replay, so long captures need a large allocation.\n\nI propose small blocks with separate columns for thread and interpreter IDs, timestamps, flags, stack changes, and frame indices. Each block stores each thread/interpreter pair once. Samples refer to that pair with a small index. Timestamps store the difference from the expected sample time, without loss of precision. Stacks reuse common frames or refer to a previous stack in the same block.\n\nEach column can use zstd, a single repeated value, or raw bytes, whichever is smaller. Similar values sit together, which can help compression. The reader processes one block at a time, so its sample buffer no longer grows with capture length. Shared string and frame tables still need memory.\n\nThe aim is smaller files and cheaper replay. We need to preserve the current format’s efficiency for repeated stacks. This needs a new format version, with the same public collector and replay APIs. Live output remains separate work in #145464.\n\n\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-160313\n* gh-162580\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/pablogsal","@type":"Person","name":"pablogsal"},"datePublished":"2026-10-12T01:02:49Z","url":"https://github.com/python/cpython/issues/159207"}
| 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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:18b12f34-9e29-8b83-b779-07a47895e014 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9020:249987:BA7556:F9D66D:6B0649CE |
| html-safe-nonce | fde76d6a6482f32ea7d9353cdf54e53bb762dfdee3346ccc94227fd0415b9620 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDIwOjI0OTk4NzpCQTc1NTY6RjlENjZEOjZCMDY0OUNFIiwidmlzaXRvcl9pZCI6IjQ3NDEyNzM2OTYxNjg0NjI3OTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ec3845937396cec83500a7e8d960e1d9645a706c54b7b3d10b9c253c7b5f6f95 |
| hovercard-subject-tag | issue:5806877359 |
| 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/python/cpython/159207/issue_layout |
| twitter:image | https://opengraph.githubassets.com/62dac858a29854a19c3d0caf1aa772771da5567bfde5675aa9d1b28fcf0c52e8/python/cpython/issues/159207 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/62dac858a29854a19c3d0caf1aa772771da5567bfde5675aa9d1b28fcf0c52e8/python/cpython/issues/159207 |
| og:image:alt | Tachyon currently stores samples in one compressed stream. The reader decompresses the whole sample section before replay, so long captures need a large allocation. I propose small blocks with sepa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pablogsal |
| hostname | github.com |
| expected-hostname | github.com |
| None | 772b6997ca4daa0428dd49a25d76052e765555ae560fe9c88517eb828bbd861e |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f1f9a08f7c769a37f1dfc18ad43d463c222a7eea |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width