Back to Git Cliff

Performance Profiling

website/docs/development/profiling.md

2.13.1480 B
Original Source

Performance Profiling

git-cliff can be built with performance profiling instrumentation, which helps with finding bottlenecks.

The profiler can be enabled via the profiler feature and the bench build profile.

bash
cargo build --profile=bench --features=profiler

To create a flame graph SVG:

bash
cargo run --profile=bench --features=profiler

e.g.