-
Notifications
You must be signed in to change notification settings - Fork 214
Performance Testing
(preliminary)
Running yarn bench
in a package directory will run any existing benchmarks. The results will be printed to stdout and saved in a machine readable format in a local benchmark-<NAME>.json
file.
Benchmarks are stored in files named bench-*.js
, just like tests are in test-*/js
. The benchmark runner finds all files in test/**/bench-*.js
(benchmarks share a directory tree with tests because they will often rely on the same set of adjacent support files).
The first benchmarks written are in packages/vats/
.
A CI job will run the benchmarks periodically (nightly, and after each push to trunk), and upload the results to a DataDog dashboard at https://p.us3.datadoghq.com/sb/447f3220-2710-11ed-970a-da7ad0900003-f47342798abe33ae1161106904dde486 .
This wiki is for developing agoric-sdk. For help using Agoric SDK, see https://docs.agoric.com/ and https://agoric-sdk.pages.dev/