Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add microbenchmark script for roachprod-microbench
Add a new weekly teamcity build script that utilises the `dev test-binaries` and the `roachprod-microbench` command. The script can be used to store a microbenchmarks checkpoint for a given `git` revision to a bucket in gcs, by specifying a publish path. A `roachprod` cluster is created by the script, as specified by environment variables. The clean-up is managed by TeamCity. Alternatively two binaries can be compared by supplying the related comparison binaries environment variables. The compare directory should be omitted in this case. The script requires a gcs path to download the comparison binaries from. The running time will be considerably longer, but there will be less variance in the results. Subsequent runs can then be made with the same script to compare against a previous checkpoint, by supplying a compare path. The script takes numerous environment variables to configure the microbenchmarks cluster and arguments. These can be tweaked to configure different run variations and packages to target. Resolves: cockroachdb#93893 See also: cockroachdb#90837, cockroachdb#91184 Epic: CRDB-20903 Release note: None
- Loading branch information