178c67003f
These have high overhead which affect the result. Also change set iteration to time the individual iteration operation. |
||
---|---|---|
.. | ||
fonts | ||
texts | ||
README.md | ||
benchmark-map.cc | ||
benchmark-set.cc | ||
benchmark-subset.cc | ||
meson.build | ||
perf-draw.hh | ||
perf-extents.hh | ||
perf-shaping.hh | ||
perf.cc | ||
run.sh |
README.md
Benchmarks are implemented using Google Benchmark.
To build the benchmarks in this directory you need to set the benchmark option while configuring the build with meson:
meson configure build -Dbenchmark=enabled
Then build the benchmark binaries with ninja:
ninja -Cbuild perf/benchmark-set
Finally, to run one of the benchmarks:
./build/perf/benchmark-set
It's possible to filter the benchmarks being run and customize the output via flags to the benchmark binary. See the Google Benchmark User Guide for more details.