Closed RCasatta closed 2 months ago
This introduce benching via criterion so that performance changes can be measured.
Criterion is used so that nightly is not required to run benchmarks and also has a nice change report.
The bench feature is introduced to expose to benching private functions, otherwise unreachable from the benches dir.
benches
After setting up benchmark for the add_blocks 3 commits avoiding to recompute txids in various places gave a cumulative performance improvement of 45%
add_blocks
add_blocks time: [3.0339 ms 3.0457 ms 3.0579 ms] change: [-45.830% -45.556% -45.277%] (p = 0.00 < 0.05) Performance has improved.
Woah very nice! Impressive gains for so little change. :)
This introduce benching via criterion so that performance changes can be measured.
Criterion is used so that nightly is not required to run benchmarks and also has a nice change report.
The bench feature is introduced to expose to benching private functions, otherwise unreachable from the
benches
dir.After setting up benchmark for the
add_blocks
3 commits avoiding to recompute txids in various places gave a cumulative performance improvement of 45%