The first release covers three runtimes with different approaches: unkernel (the Linux kernel compiled to WebAssembly, running arm64 binaries on an emulated CPU), CheerpX (an x86-to-WebAssembly JIT, the engine behind WebVM) and BrowserPod (programs compiled to WebAssembly ahead of time, with JavaScript on the browser's own engine). The workloads are shell tools (sort, gzip, sha256sum and a shell loop) and Node tools (npm ci, ESLint, the acorn parser and a CPU benchmark from unkernel's tests).
Next, I plan to add more runtimes (v86, JSLinux, container2wasm, WebContainers), workloads in other languages, and tests that use the network: npm install, git clone and coding agents.
Headline results (lower is faster): JavaScript (node-cpu, acorn, ESLint): BrowserPod 1.4–5.1× native, unkernel 33–49×, CheerpX 32–58×. Shell tools (sort, gzip, sha256sum, shell loop): BrowserPod 1.4–2.0×, CheerpX 3.6–5.3×, unkernel 4.1–22×. npm ci: BrowserPod 9.6×, unkernel 31×.
Disclosure: I work for Leaning Technologies - we make BrowserPod and CheerpX. The test suite is public and can be replicated, and PRs from maintainers of other runtimes are welcome.
Full description and results: https://github.com/leaningtech/tabbench/blob/main/README.md