361ca5eca8
This splits the benchmark code into more modules. Notes: * ~Moved/left `get_bundlers()` and `get_module_counts()` to/in mod.rs. In particular, moving `get_bundlers()` to either bundle.rs or util.rs would lead to a circular dependency. These both also rely on env var configuration, so I figured this was a reasonable place for them.~ * The Bundler trait has its own module (not moved to util), since it's a top-level concern and not really a miscellaneous utility. * Each bundler has its own module file. Test Plan: `TURBOPACK_BENCH_BUNDLERS=all cargo test --benches -p next-dev -- --nocapture` and verify same output as before change. |
||
---|---|---|
.. | ||
crates |