Repository navigation
Improve Tachyon UX #142927
Copy link
Copy link
Open
Labels
3.15bugs and security fixesbugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-profilingtype-featureA feature request or enhancementA feature request or enhancement
Description
This is a meta issue to group all the items to improve the UX of the tachyon profiler.
Tasks
CLI
- Standardize timing arguments — Currently mixing µs and seconds for related timing args, which is confusing
- Duration should default to "until done" - The fact that we sample only for 10 seconds by default is confusing to users and a bad experience
Workflow
- Auto-open browser with results — Reduce manual steps in the workflow; add
--no-browserflag to disable
Flamegraph
- Hide runner/bootstrap frames by default — Top rows showing interpreter startup aren't useful for most profiling tasks
- The Gil/gc/exception indicators could be progress bars — this probably will show the information more clearly and take less space
- Show module names instead of full file paths —
/home/user/project/pkg/mod.py→pkg.modfor readability - Show "self" time for functions — Display time spent in function body excluding callees, not just total inclusive time
- Move hotspots to top of sidebar — This is the most important info; currently buried below logo and stats
- Fix inverted flamegraph width — Currently shows narrow chart when leaves sum to small percentage, wasting screen space
Pstats
- Fix docs:
-ooutput format — Docs imply text output but it's actually binary pstats format - Standardize
--pstatsbehavior — Output format differs significantly with/without-oflag, which is unexpected
Thanks @dmoisset 🖤
Linked PRs
- gh-142927: Tachyon: Comma separate thousands and fix singular/plurals #142934
- gh-142927: Tachyon: Fix contrast ratio in top panel #142936
- gh-142927: Tachyon: Start with user's default light/dark theme #142987
- gh-142927: Auto-open HTML output in browser after generation #143178
- gh-142927: Fix heatmap caller navigation for interior lines #143180
- gh-142927: Hide _sync_coordinator frames from profiler output #143337
- gh-142927: Clarify pstats file output in docs and CLI #143388
- gh-142927: Detect system theme in flame graph like in heatmap #144885
- gh-142927: Tachyon: Fix singular and plurals #145329
- gh-142927: Move hotspots up flamegraph sidebar #145428
- gh-142927: Show module names instead of file paths in flamegraph #146040
- gh-142927: Show self time in flamegraph tooltip #147706
- gh-142927: Add scrollbar support to Tachyon HTML dark mode #148118
- gh-142927: Fix inverted flamegraph width #148568
- gh-142927: Update Tachyon examples #159050
- [3.15] gh-142927: Update Tachyon examples (GH-159050) #159052
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
3.15bugs and security fixesbugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-profilingtype-featureA feature request or enhancementA feature request or enhancement
Activity
pablogsal commentedon Dec 18, 2025
CC @ivonastojanovic @lkollar
pablogsal commentedon Dec 18, 2025
Please say what items you plan to work on to avoid collisions
gh-142927: Tachyon: Start with user's default light/dark theme (#142987)
pythongh-142927: Tachyon: Start with user's default light/dark theme (p…
lkollar commentedon Dec 22, 2025
I'll take these.
ivonastojanovic commentedon Dec 22, 2025
I'll take these
gh-142927: Tachyon: Comma separate thousands and fix singular/plurals (…
gh-142927: Tachyon: Fix contrast ratio in top panel (#142936)
17 remaining items
hugovk commentedon Mar 2, 2026
See PR http://github.com/python/cpython/pull/145428.
gh-142927: Detect system theme in flame graph like in heatmap (#144885)
ivonastojanovic commentedon Mar 16, 2026
#146040 should fix this.
@pablogsal #145785 adds tracking for self time, but currently we only update the differential flamegraph there. Would you prefer that I open a separate PR to make this change outside of #145785, or should we handle the regular flamegraphs as a follow-up once #145785 is merged?
gh-142927: Move hotspots up flamegraph sidebar (#145428)
ivonastojanovic commentedon Mar 31, 2026
#147706 should fix this.
gh-142927: Show self time in flamegraph tooltip (#147706)
pythongh-142927: Add scrollbar support to Tachyon HTML dark mode
pythongh-142927: Tachyon: Fix singular and plurals (python#145329)
pythongh-142927: Detect system theme in flame graph like in heatmap (p…
pythongh-142927: Move hotspots up flamegraph sidebar (python#145428)
pythongh-142927: Show self time in flamegraph tooltip (python#147706)
gh-142927: Fix inverted flamegraph width (#148568)
gh-142927: Show module names instead of file paths in flamegraph (#14…
gh-142927: Update Tachyon examples (#159050)
[3.15] gh-142927: Update Tachyon examples (GH-159050) (#159052)