python / python/cpython

Improve Tachyon UX

未關閉
#142,927 8 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

3.15 stdlib topic-profiling type-feature
主要語言
Python
星號
77.2k
分支
36k
PR 合併指標
PR 指標待擷取

描述

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-browser flag 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.pypkg.mod for 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: -o output format — Docs imply text output but it's actually binary pstats format
  • Standardize --pstats behavior — Output format differs significantly with/without -o flag, which is unexpected

Thanks @dmoisset 🖤

Linked PRs
  • gh-142934
  • gh-142936
  • gh-142987
  • gh-143178
  • gh-143180
  • gh-143337
  • gh-143388
  • gh-144885
  • gh-145329
  • gh-145428
  • gh-146040
  • gh-147706
  • gh-148118
  • gh-148568

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

這是 Tachyon profiler UX 的中繼 issue,列出的每項任務都已標記為完成。該 issue 引用了已連結的 PR gh-142934、gh-142936、gh-142987、gh-143178、gh-143180、gh-143337、gh-143388、gh-144885、gh-145329、gh-145428、gh-146040、gh-147706、gh-148118 和 gh-148568;未識別出任何剩餘的變更或驗證目標。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
cli, devtools, performance
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
10/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。