Explores profiling options for Zig developers on Apple Silicon Macs, covering four main tools: Samply for sampling profiling with Firefox Profiler UI, poop for hardware counter comparisons, Tracy for instrumentation profiling (with limited callstack support), and Apple Instruments. The article explains profiling types (statistical vs instrumentation), discusses Apple's profiling interfaces (Mach, DTrace, kperf), and provides installation and usage instructions for each tool. While the ecosystem is more limited than Linux, these tools offer viable solutions for performance analysis on Apple Silicon.

8m read timeFrom blog.bugsiki.dev
Post cover image
Table of contents
Classification #Interfaces #Available Tools #Conclusion #Sources #

Sort: