Vitest has too much memory usage in the face of a large number of benches #6539
Labels
feat: benchmark
Issues and PRs related to the benchmark feature
p3-minor-bug
An edge case that only affects very specific usage (priority)
Describe the bug
ref: #6535
I'm a contributor of es-toolkit. When I try to run about 200+ bench.ts using yarn vitest bench, the memory footprint is too high. I allocated 26000mb of memory for the node and it still crashes.
benchmark: https://github.com/toss/es-toolkit/tree/main/benchmarks/performance
Reproduction
vitest bench
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: