moderato-app/approf

Play with pprof on macOS

Swift

195

44 commits

updated Sep 26, 2024

See the code

README

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

Screenshot
Command line under the hood


Screenshot
WEB page in dark mode

Implementation

  • SwiftUI and AppKit as the UI framework.
  • The Composable Architecture for state management.
  • Running pprof binay in a process.

Credits

image

Thanks to Golang Weekly for the shoutout!

composable-architecture
go
golang
gui
mac
macos
pprof
swift
swiftui
tca
ui

Contributors

clement2026

44 commits

moderato-app/approf

Play with pprof on macOS

Swift

195

44 commits

updated Sep 26, 2024

See the code

README

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

Screenshot
Command line under the hood


Screenshot
WEB page in dark mode

Implementation

  • SwiftUI and AppKit as the UI framework.
  • The Composable Architecture for state management.
  • Running pprof binay in a process.

Credits

image

Thanks to Golang Weekly for the shoutout!

composable-architecture
go
golang
gui
mac
macos
pprof
swift
swiftui
tca
ui

Contributors

clement2026

44 commits

Languages

Swift

98.6%

Metal

1.3%