Quick Hardware Performance Counters on macOS ARM64 March 25, 2026 If you’ve ever profiled OCaml programs on Linux, you’ve probably reached for perf stat . It’s the go-to tool for grabbing hardware performance counters—cycles, instructions, cache misses—without any instrumentation overhead. On macOS, the equivalent story has been open Instruments , which is fine for GUI-driven investigation but…