No description
Find a file
Will Binns-Smith 2ee6039ad0 Benchmarks: Install node_modules and reuse test directories (vercel/turbo#284)
This:

* Runs `npm install` in test directories to provide turbopack with modules necessary to bundle them.
* Reuses test directories for iterations across the given benchmark. This prevents unnecessary file writing and `npm install` for each iteration, improving the times to run benchmarks.

Currently cherry-picks vercel/turbo#278 as it's necessary along with vercel/turbo#277.

Test Plan: Connected to the running devserver mid-test and confirmed no errors are thrown and the triangle is rendered correctly.
2022-08-29 15:41:26 -07:00
packages/next-swc/crates Benchmarks: Install node_modules and reuse test directories (vercel/turbo#284) 2022-08-29 15:41:26 -07:00