A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)
This adds a script that is drawing a box plot from the BENCHMARK measurement data. It is implemented in R using XML and ggplot2 libraries. Xml reporter has been adjusted to include the measurement data.
Each TEST_CASE is drawn as a single plot and then exported as a png file named after the test case, with spaces replaced with underscore.
All plots are also saved to a single file Rplots.pdf.
Tests that don't have any measurement data are skipped.
Description
This adds a script that is drawing a box plot from the
BENCHMARK
measurement data. It is implemented inR
usingXML
andggplot2
libraries. Xml reporter has been adjusted to include the measurement data.Each
TEST_CASE
is drawn as a single plot and then exported as a png file named after the test case, with spaces replaced with underscore. All plots are also saved to a single fileRplots.pdf
. Tests that don't have any measurement data are skipped.GitHub Issues
N/A
Example plots from existing benchmark tests: