botan icon indicating copy to clipboard operation
botan copied to clipboard

Plot benchmark graphs and create HTML report

Open securitykernel opened this issue 1 year ago • 2 comments

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/.

securitykernel avatar Jan 07 '24 11:01 securitykernel

Coverage Status

coverage: 92.006%. remained the same when pulling 8809009146cdb25a0df39c01f91a5744d0a12d6e on sk/bench-plot into 13c7e5f1d29455bde2865fd287abc06e747fe389 on master.

coveralls avatar Jan 07 '24 11:01 coveralls

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.

securitykernel avatar Jan 08 '24 11:01 securitykernel