$ node bench.mjs # stdout === baseline-babel-barrel-svgr (the slow setup: Babel plugin, barrel imports, SVGs as components) cold median 93ms | crawl 3059 modules in 2143ms | hmr 25ms | build median 901ms === isolate-swc-barrel-svgr (isolation: SWC with the barrel still in place — does the faster transformer alone save you?) cold median 93ms | crawl 3058 modules in 1027ms | hmr 28ms | build median 901ms === fix1-babel-direct-svgr (fix 1: direct imports instead of the barrel) cold median 94ms | crawl 68 modules in 226ms | hmr 113ms | build median 363ms === fix2-swc-direct-svgr (fix 2: swap plugin-react for plugin-react-swc) cold median 93ms | crawl 67 modules in 213ms | hmr 101ms | build median 401ms === fix3-swc-direct-url (fix 3: SVGs as URLs instead of components) cold median 95ms | crawl 67 modules in 121ms | hmr 91ms | build median 331ms === fix4-manual-chunks (build-only, on fix3 config) build median 295ms | chunks: vendor-CrqJdhs-.js 137.5KB, index-Cz2Sc4aY.js 19.6KB Wrote reports/bench-results.json # stderr # exit 0