python / python/cpython

Improve Tachyon UX

Abierto
#142,927 8 comentarios 2 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

3.15 stdlib topic-profiling type-feature
Lenguaje dominante
Python
Estrellas
77.2k
Forks
35.9k
Métricas de merge de PR
Métricas de PR pendientes

Descripción

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

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Este es un meta issue para Tachyon profiler UX, y cada tarea enumerada está marcada como completada. El issue hace referencia a los 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 y gh-148568; no se identifica ningún cambio ni objetivo de validación pendiente.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
cli, devtools, performance
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
10/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.