atproto/packages/api/jest.bench.config.js
Patryk 1de53e99ab
Profiling (#1015)
* Add bench/profiling docs

* Fix repo benches

We probably want to create a shared config for benchmarks,
this fix isn't universal across packages

* Add benchs to API

This should help with #915 and any other future API performance investivations

* Make repo `bench:profile` wait for debugger

* Update packages/README.md

---------

Co-authored-by: Daniel Holmgren <dtholmgren@gmail.com>
2023-05-17 10:43:42 -05:00

9 lines
155 B
JavaScript

const base = require('./jest.config')
module.exports = {
...base,
roots: ['<rootDir>/bench'],
testRegex: '(.*.bench.ts)',
testTimeout: 3000000,
}