Skip to main content

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.

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

To create a flame graph SVG:

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

e.g.

flamegraph example