botan
botan copied to clipboard
Plot benchmark graphs and create HTML report
Adds a new option bench.py --html-report that plots graphs using matplotlib and outputs a HTML report including Botan and OpenSSL version info, system environment, and build.h contents.
A sample report is available for browsing at https://securitykernel.io/bench_html/.
coverage: 92.006%. remained the same when pulling 8809009146cdb25a0df39c01f91a5744d0a12d6e on sk/bench-plot into 13c7e5f1d29455bde2865fd287abc06e747fe389 on master.
I like the idea, and the resulting diagrams.
Yeah, one could argue whether those are pretty, but at least they do what we want. We could use plotly express instead, but don't know if it's worth. I thought about using horizontal bar charts instead of vertical ones, as they seem to be used more commonly for benchmarking.