google/perfetto — 6.8k★ trên GitHub (C++). Production-grade client-side tracing, profiling, and analysis for complex software systems.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Record, explore and query traces of complex software.
Try the demo ·
Quick start ·
What can you do with it? ·
Documentation ·
Discord
What is Perfetto?
Perfetto is an open-source suite of tools for recording, visualizing and
analyzing traces: timelines of what software and the system under it were
doing. It is the default tracing system for Android and Chromium.
System-wide recording works on Android and Linux. The tracing SDK, the UI and
Trace Processor also run on macOS and Windows.
Record the whole system. Scheduling, CPU frequency, memory, syscalls and
any kernel tracepoint on Android and Linux, plus Android framework events,
callstack sampling and Java and native heap profiles.
Instrument your own code. Add trace points with the
C++ or
Rust SDKs and see them
next to everything else.
Open traces from other tools. Chrome JSON, Linux perf, Firefox
Profiler, macOS Instruments, pprof, systrace, Fuchsia and
more.
Explore multi-GB traces in the browser. The
Perfetto UI needs no install and runs fully
locally: traces are not uploaded anywhere.
Query everything with SQL.
Trace Processor turns
any trace into tables, with a standard library for common analyses. Use it
from the command line, Python or C++.
Bring your AI agent. The
Perfetto AI skill
teaches coding agents to record and analyze traces.
Try it in your browser
Open an example Android trace
without installing anything, or drag your own trace file onto
ui.perfetto.dev.
For Chrome, use the recording page
in the UI. To trace your own app, see
in-app tracing.
Query it with SQL
curl -LO https://get.perfetto.dev/trace_processor && chmod +x trace_processor
./trace_processor query trace.pftrace \
"SELECT name, COUNT(*) AS cnt FROM slice GROUP BY name ORDER BY cnt DESC LIMIT 10"
Or from Python:
pip install perfetto
from perfetto.trace_processor import TraceProcessor
tp = TraceProcessor(trace='trace.pftrace')
print(tp.query('SELECT ts, dur, name FROM slice LIMIT 10').as_pandas_dataframe())
What can you do with it?
Android app and platform developers: root-cause slow startups, jank,
ANRs and low memory kills, and profile Java/Kotlin and native memory.
(Android guides)
C, C++ and Rust developers: instrument your code to see where time goes
across threads and processes.
(In-app tracing)
Linux kernel and systems developers: visualize scheduling, syscalls,
interrupts and custom tracepoints. Perfetto is an efficient userspace daemon
for ftrace.
(Linux cookbook)
Chromium developers: Perfetto is the tracing backend behind
chrome://tracing, for debugging the browser, V8 and Blink.
(Chrome tracing)
Performance engineers: analyze traces from many tools in one place and
automate the analysis with SQL across thousands of traces.
(Trace analysis)
Not sure where to start? How do I start using Perfetto?
picks a path based on what you want to do.
How it fits together
Perfetto is a collection of components that work together:
Tracing daemons (traced, traced_probes) collect data from many
processes and the kernel into a single trace file.
The tracing SDK writes your app's trace points with low overhead.
The Perfetto UI visualizes traces on a timeline.
Trace Processor parses traces into a SQL database for analysis.
See the documentation for the full picture.
Community and Support
Discord: ask questions in #help, chat with
the team and community, and follow releases.
GitHub issues: report bugs.
Mailing list: if
you prefer email.
See Community and getting help for
more. We follow
Google's Open Source Community Guidelines.
Contributing
Contributions are welcome. The
contributor guide
covers building, testing and sending pull requests.
Packages
The Debian packaging of Perfetto is maintained in the
Debian Perfetto Salsa repository.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/google/perfetto là nguồn chính thức.
google/perfetto có phải mã nguồn mở không?
Có — google/perfetto phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/google/perfetto.
google/perfetto có tag gì không?
Bản đồng bộ chưa ghi nhận topic GitHub nào cho google/perfetto. GitHub topics hiển thị ở thanh bên phải trang repo — đó là nơi đáng kiểm tra nhất.
google/perfetto có trang demo không?
Dự án có trang chủ ở https://www.perfetto.dev. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
google/perfetto còn đang phát triển không?
Commit gần nhất trên google/perfetto là 6 ngày trước (theo timestamp GitHub). Repo có 943 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
google/perfetto dùng license gì?
google/perfetto phát hành theo license Apache-2.0. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc perfetto có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về perfetto.