mirror of
https://github.com/LukeHagar/wasm-overhead-research.git
synced 2025-12-06 04:22:06 +00:00
- 5 different JS-to-WASM implementations analyzed - QuickJS (283KB) and Javy Static (519KB) are Wasmer-compatible - Comprehensive size analysis and runtime compatibility testing - Complete documentation and build automation - Wasmer v6.1.0-rc.2 dynamic linking analysis included
19 lines
466 B
TypeScript
19 lines
466 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
// Set the test timeout to 30 seconds (default is 5000ms)
|
|
// The WASM tests should take a little over 5 seconds to run
|
|
testTimeout: 30_000,
|
|
environment: "jsdom",
|
|
// Disable watch mode and parallelism due to WASM's single threaded nature
|
|
watch: false,
|
|
pool: "forks",
|
|
poolOptions: {
|
|
forks: {
|
|
singleFork: true,
|
|
},
|
|
},
|
|
},
|
|
});
|