python / python/cpython

Improve Tachyon UX

Đang mở
#142,927 8 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

3.15 stdlib topic-profiling type-feature
Ngôn ngữ chính
Python
Star
77.2k
Fork
35.9k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Đây là một meta issue cho Tachyon profiler UX và mọi tác vụ được liệt kê đều được đánh dấu là đã hoàn tất. Issue này tham chiếu đến các PR được liên kết 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 và gh-148568; không xác định có thay đổi hoặc mục tiêu validation nào còn lại.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
cli, devtools, performance
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
10/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.