python / python/cpython

Improve Tachyon UX

Ouverte
#142,927 8 commentaires 2 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

3.15 stdlib topic-profiling type-feature
Langage dominant
Python
Étoiles
77.2k
Forks
35.9k
Métriques de merge des PR
Métriques de PR en attente

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-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

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Il s’agit d’une méta-issue pour Tachyon profiler UX, et chaque tâche listée est marquée comme terminée. L’issue fait référence aux PRs liés 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 et gh-148568 ; aucune modification ni cible de validation restante n’est identifiée.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
cli, devtools, performance
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
10/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.