metaparse/tools/benchmark
2017-07-30 13:47:42 +02:00
..
include Add BOOST_METAPARSE_STRING benchmarks 2016-10-31 15:41:28 +01:00
src Add BOOST_METAPARSE_STRING benchmarks 2016-10-31 15:41:28 +01:00
.gitignore Add BOOST_METAPARSE_STRING benchmarks 2016-10-31 15:41:28 +01:00
benchmark.py Merge remote-tracking branch 'asomers/master' into develop 2017-07-30 13:47:42 +02:00
char_stat.py Add BOOST_METAPARSE_STRING benchmarks 2016-10-31 15:41:28 +01:00
chars.py Add BOOST_METAPARSE_STRING benchmarks 2016-10-31 15:41:28 +01:00
generate.py Add BOOST_METAPARSE_STRING benchmarks 2016-10-31 15:41:28 +01:00
README.md Add BOOST_METAPARSE_STRING benchmarks 2016-10-31 15:41:28 +01:00

This directory contains benchmarks for the library.

The characters to use in the benchmarks and their distribution is coming from chars.py. This is an automatically generated file and can be regenerated using char_stat.py. It represents the distribution of characters of the Boost 1.61.0 header files.

To regenerate the benchmarks:

  • Generate the source files by running generate.py. Unless specified otherwise, it will generate the source files found in src to generated.
  • Run the benchmarks by running benchmark.py. Unless specified otherwise, it will benchmark the compilation of the source files in generated and generate the diagrams into the library's documentation.