Replies: 2 comments
-
|
I tested your There are a few aspects to this issue, For one, Vitest uses For second, keeping samples during each bench function is not so much of a problem, but a bigger issue is that Vitest is holding all the samples of all benchmarks until the end for reporting purposes. Not sure what would be the solution, but we probably need to do something about this. Please go ahead creating an issue. |
Beta Was this translation helpful? Give feedback.
-
|
Disable |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm a contributor of

es-toolkit. When I try to run about 200+bench.tsusingyarn vitest bench, the memory footprint is too high. I allocated 26000mb of memory for the node and it still crashes.Is there a potential memory leak in vitest, or is there something wrong with the benchmarks I wrote?
benchmark: https://github.com/toss/es-toolkit/tree/main/benchmarks/performance
Beta Was this translation helpful? Give feedback.
All reactions