Performance testing tools for use with CmdStan
HEALTH ? 92 / Healthy
Performance testing tools for use with CmdStan
// readme
Performance testing tools for use with CmdStan
git clone --recursive https://github.com/stan-dev/performance-tests-cmdstan.git
To test the performance of the current cmdstan et al working directory on, for example, @betanalpha’s stat_comp_benchmarks model repo, you can run the following:
./runPerformanceTests.py -j8 stat_comp_benchmarks
./runPerformanceTests.py --help for more options.
make clean will recursively remove all non-checked-in files from all submodules. make revert will bring cmdstan and its submodules back to the commit specified by the current commit of the top-level performance-tests-cmdstan repo.
to test e.g. develop against a branch you’ve made on cmdstan,
./compare-git-hashes.sh "stat_comp_benchmarks -j8 --runs 10 <other options to runPerformanceTests.py>" <Baseline CmdStan hash/branch/PR-???> <CmdStan hash for comparison run> <Stan hash for comparison run> <Math hash for comparison run>
All of these take pull request numbers, so to test stan-dev/math#1244 against develop (for…