To run the performance test:
npm run test:speed # Runs test on 1M records
npm run test:speed 100 # Runs test on 100 records
npm run test:speed 100*1000 # Runs test on 100k records (it evals arg)
npm run test:speed 1_000_000 # Runs test on 1M records (it evals arg)Warning this is all synchronous, so you need to kill the process. At the end it prints statistics and some performance metrics.
All other tests can be run just by npm test