-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds run_benchmarks
CMake target and adapt existing test to be a benchmark
#1222
Conversation
run_benchmarks
CMake target and adapt existing test to be a benchmark
I'll wait to merge until the related BLT pr is merged, but this PR is ready for review |
Future benchmarking plans are outlined here #1226 |
src/serac/physics/benchmarks/benchmark_solid_nonlinear_solve.cpp
Outdated
Show resolved
Hide resolved
src/serac/physics/benchmarks/benchmark_solid_nonlinear_solve.cpp
Outdated
Show resolved
Hide resolved
Co-authored-by: Chris White <[email protected]>
Co-authored-by: Chris White <[email protected]>
…eature/chapman39/spot
cd <serac build location> | ||
make -j | ||
make run_benchmarks | ||
find . -name "*.cali" -print0 | xargs -0 mv -t . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@white238 Added this part to the docs just now. The Caliper files will not be located at the root of the build dir by default.
It's somewhat unfortunate we have to do that command but it might be avoidable in the future if blt_add_test
and blt_add_benchmark
added a WORKING_DIRECTORY
option. https://cmake.org/cmake/help/latest/command/add_test.html#add-test
make run_benchmarks