Awesome
https://github.com/user-attachments/assets/d61cd45f-abd8-4fa1-9038-5f9968ce9c9c
A native macOS app for pprof
Open pprof profiles without command-line hassle ✨.
Install
brew install approf
You can also download the latest app from release.
Requirements
Graphviz
installed- macOS Sonoma 14.0 or later on a M-series chip
Translucent background is only availble on macOS Sequoia 15.0 or later
Features
- Drag and drop pprof files to open
- Compare pprof profiles using the
-diff_base
option - Reorder / Add / Remove files in seconds
- Dark / Light mode
- Save sessions for later use
Screenshots
<img width="100%" alt="Screenshot" src="https://github.com/user-attachments/assets/efff596b-302d-45c9-8795-1ff8633e7d0f"> <div align="center">Command line under the hood</div> <br/> <br/> <img width="100%" alt="Screenshot" src="https://github.com/user-attachments/assets/d34f68fb-8aa6-46ad-9a34-7c97c1a3ae0b"> <div align="center">WEB page in dark mode </div>Implementation
- SwiftUI and AppKit as the UI framework.
- The Composable Architecture for state management.
- Running pprof binay in a process.
Credits
<a href="https://golangweekly.com/latest" target="_blank"> <img width="200" alt="image" src="https://github.com/user-attachments/assets/25490d69-576c-4d47-9f3a-6b8a1200e57b"> </a>Thanks to Golang Weekly for the shoutout!