Title: Tachyon recordings as animated SVGs instead of GIFs · Issue #162388 · python/cpython · GitHub
Open Graph Title: Tachyon recordings as animated SVGs instead of GIFs · Issue #162388 · python/cpython
X Title: Tachyon recordings as animated SVGs instead of GIFs · Issue #162388 · python/cpython
Description: Documentation URL https://docs.python.org/3/library/profiling.sampling.html#live-mode Documentation Python 3.15 added Tachyon, and document its --live mode with 2 GIFs since #142676 . These have been evaluated as too big (#159102) and at...
Open Graph Description: Documentation URL https://docs.python.org/3/library/profiling.sampling.html#live-mode Documentation Python 3.15 added Tachyon, and document its --live mode with 2 GIFs since #142676 . These have be...
X Description: Documentation URL https://docs.python.org/3/library/profiling.sampling.html#live-mode Documentation Python 3.15 added Tachyon, and document its --live mode with 2 GIFs since #142676 . These have be...
Opengraph URL: https://github.com/python/cpython/issues/162388
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tachyon recordings as animated SVGs instead of GIFs","articleBody":"### Documentation URL\n\nhttps://docs.python.org/3/library/profiling.sampling.html#live-mode\n\n### Documentation\n\nPython 3.15 added Tachyon, and document its `--live` mode with 2 GIFs since https://github.com/python/cpython/pull/142676 . These have been evaluated as too big (https://github.com/python/cpython/issues/159102) and attempts have been made to change their format (https://github.com/python/cpython/pull/159169).\n\nThis issue propose to distribute them as animated SVGs instead:\n\n\u003cimg width=\"1482\" height=\"1157\" alt=\"tachyon-live-mode-1\" src=\"https://github.com/user-attachments/assets/e6f9f36e-a032-4659-80db-fffb08f560c4\" />\n\n\u003cimg width=\"1482\" height=\"1157\" alt=\"tachyon-live-mode-2\" src=\"https://github.com/user-attachments/assets/402ca30b-6b97-40c7-bab3-4e533d0b24be\" />\n\nThis reduce the size of these assets:\n\n| | GIF (now) | SVG |\n| :-- | --: | --: |\n| `tachyon-live-mode-1` | 822,727 B | 304,418 B |\n| `tachyon-live-mode-2` | 965,522 B | 347,052 B |\n| Both, xz-compressed, as in the `.tar.xz` | 1,743,920 B | 34,528 B |\n\nBeing SVGs, they also renders sharp and are scalable at any resolution.\n\nThese assets have been rendered with this `click-extra` one-liners (a project I am maintaining for more than 5 years):\n\nFor `tachyon-live-mode-1.svg`:\n\n```shell-session\n$ uvx 'click-extra==10.3.1' screenshot --record --columns 120 --rows 47 --start 6 --end 10 --hold 0 --blank 0 --preset plain --prompt '' --watermark '' --margin 0 --padding 0 --shadow none --border none --output tachyon-live-mode-1.svg -- python3.15 -m profiling.sampling run --live --all-threads --sampling-rate 10khz --opcodes -m test test_gc test_threading test_list test_dict\n```\n\nFor `tachyon-live-mode-2.svg`:\n\n```shell-session\n$ uvx 'click-extra==10.3.1' screenshot --record --columns 120 --rows 47 --start 6 --end 10 --hold 0 --blank 0 --preset plain --prompt '' --watermark '' --margin 0 --padding 0 --shadow none --border none --output tachyon-live-mode-2.svg -- python3.15 -m profiling.sampling run --live --all-threads --sampling-rate 10khz -m test test_gc test_threading test_list test_dict\n```\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-162391\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/kdeldycke","@type":"Person","name":"kdeldycke"},"datePublished":"2026-11-21T14:15:36Z","url":"https://github.com/python/cpython/issues/162388"}
| 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:e0dacf1b-2070-aa5f-9225-17ee4c9d0617 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B8CE:ADA9D:3819203:47F064E:6B01E947 |
| html-safe-nonce | f19c283c4b0faeda7671f7c4bd5d96be33431924603356d559ce382b2944e051 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOENFOkFEQTlEOjM4MTkyMDM6NDdGMDY0RTo2QjAxRTk0NyIsInZpc2l0b3JfaWQiOiI3NDUwNTE3OTk5NjcwMzg5MDYzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8f18e8a7c65cefe8a866d6bc10a59df8df48a7e4c1b3607f69e7032095598683 |
| hovercard-subject-tag | issue:6529935354 |
| 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/162388/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1683eaf2b60bb9d2c87ff4d3dfad6968d620495bac960bbdacf45dd9da19888d/python/cpython/issues/162388 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1683eaf2b60bb9d2c87ff4d3dfad6968d620495bac960bbdacf45dd9da19888d/python/cpython/issues/162388 |
| og:image:alt | Documentation URL https://docs.python.org/3/library/profiling.sampling.html#live-mode Documentation Python 3.15 added Tachyon, and document its --live mode with 2 GIFs since #142676 . These have be... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kdeldycke |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width