add benchmark for stumpless_open_buffer_target #449
Labels
good first issue
something that would be simple for a newcomer to stumpless to work on
help wanted
external contributations encouraged
testing
pertains to the test suite
Buffer targets are use heavily in test suites, and will also be employed internally for new features. Adding a benchmark test for
stumpless_open_buffer_target
will give future changes a way to evaluate what the impact to performance is.General Approach
There are a few details left out of the following approach, for you to fill in as you encounter them. If you find you need help, please ask here or on the project gitter and someone can help you get past the stumbling block.
First, read the documentation on benchmarking in stumpless. This doc walks through the general philosophy behind benchmark tests and how they are used in this project.
Once you understand these concepts, you'll be ready to add a new benchmark suite as
test/performance/target/buffer.cpp
forstumpless_open_buffer_target
. Look to the existing test suites as a starting point for your new one. To add the new benchmark suite to the build process, you'll need to modifyCMakeLists.txt
with a call toadd_performance_test
for the new benchmark suite. Make sure that you are able to see results from your new test when you run the benchmark suite using thebench
make target.The text was updated successfully, but these errors were encountered: