You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Brian Warner edited this page Jun 26, 2023
·
5 revisions
(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/.