RepositoryPythonUSHoa Kỳ
gaogaotiantian

gaogaotiantian/viztracer

A debugging and profiling tool that can trace and visualize python code execution

7.8ksao
481fork
22issue
3lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: tracer

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: profiling

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: flamegraph

#1 Repository của tuần

🔍 VizTracer: Trace và visual hóa code Python như đang chơi game

Trace Python code tới mức từng hàm, rồi xem như một bản đồ thời gian thực trên Perfetto.

VizTracer là một công cụ logging/debugging/profiling cho Python, giúp trace và visual hóa quá trình thực thi code. Giao diện front-end dựa trên Perfetto, hỗ trợ zoom và điều hướng bằng phím AWSD.

✨ Điểm nổi bật

  • Thông tin chi tiết trên timeline: hiển thị entry/exit hàm kèm source code.
  • Dễ dùng không cần thay đổi code: chạy trực tiếp qua CLI hoặc inline.
  • Hiệu năng cao: overhead thấp, nhanh nhất trong ngành.
  • Hỗ trợ đa nền tảng: threading, multiprocessing, async, PyTorch.
  • Render mượt lớn: xử lý trace file cỡ GB.
  • Đa nền tảng hệ điều hành: Linux, MacOS, Windows.

💡 Vì sao đáng chú ý

VizTracer không chỉ là một công cụ profiling đơn thuần mà còn cung cấp giao diện trực quan mạnh mẽ nhờ Perfetto. Đây là lựa chọn lý tưởng cho việc debug và tối ưu code Python, đặc biệt khi làm việc với các dự án phức tạp hoặc sử dụng thư viện như PyTorch.


#Python #Profiling #Debugging #Visualization #Perfetto #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPHP
itsgoingd/clockwork

Clockwork - php dev tools in your browser - server-side component

5.9k
Aug 29, 2026
RepositoryPython
Asabeneh/30-Days-Of-Python

The 30 Days of Python programming challenge is a step-by-step guide to learn the Python programming language in 30 days. This challenge may take more than 100 days. Follow your own pace. These videos may help too: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw

80.0k
Sep 30, 2026
RepositoryPython
TheAlgorithms/Python

All Algorithms implemented in Python

226.6k
Nov 13, 2026
RepositoryPython
yt-dlp/yt-dlp

A feature-rich command-line audio/video downloader

212.4k
Dec 2, 2026
RepositoryPython
521xueweihan/HelloGitHub

:octocat: 分享 GitHub 上有趣、入门级的开源项目。Share interesting, entry-level open source projects on GitHub.

192.6k
Nov 27, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryPython
gruns/icecream

🍦 Never use print() to debug again.

10.1k
Oct 19, 2026
RepositoryPython
laixintao/flameshow

A terminal Flamegraph viewer.

1.1k
Oct 1, 2026
RepositoryPython
donnemartin/system-design-primer

Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

379.9k
Sep 15, 2026