@syclik what do you think is a good pattern for performance tests for math? Maybe my default would be a new test/performance directory that we somehow configure such that Jenkins runs all of the tests in there and somehow charts the time taken?
I think that @seantalts’s suggestion makes sense:
- create a new test/performance directory that’s meant for performance tests
- have Jenkins run these tests
- have Jenkins show the timing difference between
developand a proposed branch, or even what we do with the Stan tests which is to just run and record the state of
To make this easier, we could use a library like Google benchmark. Or use Google test’s ability to rerun multiple times. (I don’t want to add yet another dependency to the math library, but this seems less onerous because it’s a dev-only dependency.)