Build Optimization

How much do compiler optimizations matter? Comparing release, native CPU, PGO, PGO+BOLT, and final release builds.

Release Build Time
ms
cargo build --release
Best Optimized
ms
Max Speedup
%
vs release build

Timing

Build Type Comparison

Absolute timing for each build configuration. Lower is better.


Speedup

Speedup vs Release Build

Relative performance gain from each optimization level. Values >1× indicate improvement over the baseline release build.


Heatmap

Per-Algorithm Breakdown

All algorithms across all build types for the selected dataset and capacity. Green = fast, red = slow.


Key Insight

The release build is typically within 5–15% of PGO-optimized builds. For most users, the standard cargo build --release is sufficient. PGO and PGO+BOLT provide marginal improvements that may not justify the build complexity.

Recommendation: Ship the release build. Only invest in PGO if you're processing millions of sequences per second in a latency-critical pipeline.