← Back to feed

magic-trace

GitHub Repo Pretty sure ยท Intel PT is hard; this made it simple
https://github.com/janestreet/magic-trace

Jane Street's Intel PT wrapper that actually solves the problem perf leaves unsolved: showing you what your code does in microsecond resolution without sampling bias. The testimonials aren't marketing fluff.

5%
80%
15%
Slop 5%Signal 80%Science 15%

This isn't research โ€” it's applied systems work. The insight is obvious in hindsight: Intel Processor Trace gives you *all* control flow in a ring buffer, so snapshot on demand instead of sampling throughout. The engineering is solid (2-10% overhead, ~40ns resolution, no instrumentation required). The signal is massive: production debugging tool that works today on real workloads. Limitations are honest (Intel only, Linux, Skylake+, no VMs). Jane Street doesn't hype; they ship. The web UI han...

5839 stars OCaml 2026-05-21 1578 days old

Become a MFer to rate โ€” log in