diff --git a/vitest.config.mts b/vitest.config.mts index 57e7540..6990aff 100644 --- a/vitest.config.mts +++ b/vitest.config.mts @@ -16,6 +16,9 @@ export default defineConfig({ name: 'bench', benchmark: { enabled: true, include: ['**/*.bench.ts'] }, experimental: { viteModuleRunner: false }, + // tty's wasm otherwise compiles lazily and tiers up mid-run; those native + // allocations land on whichever bench triggers them (e.g. the first one) + execArgv: ['--no-liftoff', '--no-wasm-lazy-compilation'], }, }, ],