[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-75766":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":9,"totalLinesOfCode":9,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":9,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":9,"createdAt":9,"pushedAt":9,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":16,"starSnapshotCount":16,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},75766,"perfetto","google\u002Fperfetto","google","Production-grade client-side tracing, profiling, and analysis for complex software systems.",null,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fperfetto","C++",6060,799,73,106,0,26,39,134,78,111.21,false,"main","2026-06-12 04:01:18","# Perfetto - System profiling, app tracing and trace analysis\n\nPerfetto is an open-source suite of SDKs, daemons and tools which use\n**tracing** to help developers understand the behaviour of complex systems and\nroot-cause functional and performance issues on client and embedded systems.\n\nIt is a production-grade tool that is the default tracing system for the\n**Android operating system** and the **Chromium browser**.\n\n![](docs\u002Fimages\u002Fperfetto-stack.svg)\n\n## Core Components\n\nPerfetto is not a single tool, but a collection of components that work\ntogether:\n\n- **High-performance tracing daemons:** For capturing tracing information from\n  many processes on a single machine into a unified trace file.\n- **Low-overhead tracing SDK:** A C++17 library for direct\n  userspace-to-userspace tracing of timings and state changes in your\n  application.\n- **Extensive OS-level probes:** For capturing system-wide context on Android\n  and Linux (e.g. scheduling states, CPU frequencies, memory profiling,\n  callstack sampling).\n- **Browser-based UI:** A powerful, fully local UI for visualizing and exploring\n  large, multi-GB traces on a timeline. It works in all major browsers, requires\n  no installation, and can open traces from other tools.\n- **SQL-based analysis library:** A powerful engine that allows you to\n  programmatically query traces using SQL to automate analysis and extract\n  custom metrics.\n\n## Why Use Perfetto?\n\nPerfetto was designed to be a versatile and powerful tracing system for a wide\nrange of use cases.\n\n- **For Android App & Platform Developers:** Debug and root-cause functional and\n  performance issues like slow startups, dropped frames (jank), animation\n  glitches, low memory kills, and ANRs. Profile both Java\u002FKotlin and native C++\n  memory usage with heap dumps and profiles.\n- **For C\u002FC++ Developers (Linux, macOS, Windows):** Use the\n  [Tracing SDK](docs\u002Finstrumentation\u002Ftracing-sdk.md) to instrument your\n  application with custom trace points to understand its execution flow, find\n  performance bottlenecks, and debug complex behavior. On Linux, you can also\n  perform detailed CPU and native heap profiling.\n- **For Linux Kernel & System Developers:** Get deep insights into kernel\n  behavior. Perfetto acts as an efficient userspace daemon for `ftrace`,\n  allowing you to visualize scheduling, syscalls, interrupts, and custom kernel\n  tracepoints on a timeline.\n- **For Chromium Developers:** Perfetto is the tracing backend for\n  `chrome:\u002F\u002Ftracing`. Use it to debug and root-cause issues in the browser, V8,\n  and Blink.\n- **For Performance Engineers & SREs:** Analyze and visualize a wide range of\n  profiling and tracing formats, not just Perfetto's. Use the powerful SQL\n  interface to programmatically analyze traces from tools like **Linux perf**,\n  **macOS Instruments**, **Chrome JSON traces**, and more.\n\n## Getting Started\n\nWe've designed our documentation to guide you to the right information as\nquickly as possible, whether you're a newcomer to performance analysis or an\nexperienced developer.\n\n1.  **New to tracing?** If you're unfamiliar with concepts like tracing and\n    profiling, start here:\n\n    - [**What is Tracing?**](https:\u002F\u002Fperfetto.dev\u002Fdocs\u002Ftracing-101) - A gentle\n      introduction to the world of performance analysis.\n\n2.  **Ready to dive in?** Our \"Getting Started\" guide is the main entry point\n    for all users. It will help you find the right tutorials and documentation\n    for your specific needs:\n\n    - [**How do I start using Perfetto?**](https:\u002F\u002Fperfetto.dev\u002Fdocs\u002Fgetting-started\u002Fstart-using-perfetto) -\n      Find your path based on your role and goals (e.g., Android App Developer,\n      C\u002FC++ Developer, etc.).\n\n3.  **Want the full overview?** For a comprehensive look at what Perfetto is,\n    why it's useful, and who uses it, see our main documentation page:\n    - [**Perfetto Documentation Home**](https:\u002F\u002Fperfetto.dev\u002Fdocs\u002F)\n\n## Debian Distribution\n\nFor users interested in the Debian distribution of Perfetto, the official source\nof truth and packaging efforts are maintained at\n[Debian Perfetto Salsa Repository](https:\u002F\u002Fsalsa.debian.org\u002Fdebian\u002Fperfetto)\n\n## Community & Support\n\nHave questions? Need help?\n\n- **[GitHub Discussions](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fperfetto\u002Fdiscussions\u002Fcategories\u002Fq-a):**\n  For Q&A and general discussions.\n- **[GitHub Issues](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fperfetto\u002Fissues):** For bug\n  reports.\n- **[Discord](https:\u002F\u002Fdiscord.gg\u002F35ShE3A):** For live chat with the community\n  and developers.\n\nWe follow\n[Google's Open Source Community Guidelines](https:\u002F\u002Fopensource.google\u002Fconduct\u002F).\n","Perfetto 是一个用于复杂软件系统中客户端追踪、性能分析和问题诊断的生产级工具。它由一系列高性能组件构成，包括低开销的追踪SDK、系统级探针、浏览器端UI以及基于SQL的分析库等，能够帮助开发者深入理解应用程序的行为，并定位功能性和性能问题。该项目默认支持Android操作系统及Chromium浏览器中的追踪需求。适用于多种场景，如Android应用与平台开发者的调试需求、C\u002FC++跨平台项目性能优化、Linux内核行为分析以及Chromium相关产品的性能监控等。通过提供强大的可视化界面与灵活的数据查询能力，Perfetto成为解决从移动设备到桌面环境各类性能挑战的理想选择。",2,"2026-06-11 03:53:19","trending"]