Improve Tachyon UX
Aberta
Ninguém assumiu esta issue ainda.
3.15
stdlib
topic-profiling
type-feature
- Linguagem predominante
- Python
- Estrelas
- 77.2k
- Forks
- 36k
- Métricas de merge de PRs
- Métricas de PR pendentes
Descrição
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-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
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Esta é uma meta issue para Tachyon profiler UX, e todas as tarefas listadas estão marcadas como concluídas. A issue faz referência aos PRs vinculados 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 e gh-148568; nenhuma alteração ou meta de validação restante é identificada.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- python
- Domínio
- cli, devtools, performance
- Tipo de issue
- Funcionalidade
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 10/100