Tagged articles
1 articles
Page 1 of 1
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 29, 2024 · Operations

Profiling Rust Applications with macOS Instruments Time Profiler

This article explains how to use the macOS Instruments Time Profiler to perform CPU‑time profiling of Rust programs, demonstrates a sample π‑calculation benchmark, shows the required Cargo configuration, walks through recording and inspecting trace files, and applies the method to diagnose performance regressions in the Rspack project.

InstrumentsProfilingRspack
0 likes · 8 min read
Profiling Rust Applications with macOS Instruments Time Profiler