mz-profile

Installation
SKILL.md

Profiling Materialize

CPU profiling

Prefer profiling with samply, which produces Firefox Profiler-compatible flame graphs.

  • Attach to a running process: samply record -p PID
  • Record environmentd from startup: bin/environmentd --wrapper "samply record"
  • Record clusterd processes from startup: bin/environmentd -- --orchestrator-process-wrapper "samply record"

Samply opens a browser tab with an interactive flame graph when recording finishes.

On macOS, enable codesigning for Instruments support: bin/environmentd --enable-mac-codesigning

Memory profiling

Valgrind doesn't work on Materialize as it's too slow to yield results. Heaptrack works, but is slow.

Related skills
Installs
3
GitHub Stars
6.3K
First Seen
Apr 3, 2026