# We Benchmarked Whisper in Browser WASM Across Linux, Windows, and macOS — 4 Surprises in the Data

> Source: <https://dev.to/zephyrwr6k/we-benchmarked-whisper-in-browser-wasm-across-linux-windows-and-macos-4-surprises-in-the-data-3132>
> Published: 2026-11-28 07:33:05+00:00

**Recommendation:** Default desktop browsers to fp32 Whisper models once cached and reserve int8 for mobile, and avoid Firefox for in-browser WASM inference, where tiny.en fp32 took 93.38s versus 7.02s on Chromium.
More in the playbook "Inference and self-hosting": <https://wpnews.pro/playbooks/inference-serving>

Running OpenAI Whisper directly inside a browser tab via WebAssembly (`@xenova/transformers` + `onnxruntime-web`) sounds great in theory: zero server cost, instant privacy, no file upload.

In practice, almost every blog post stops at copying the 2022 OpenAI paper's parameter table. Nobody shows repeated Web Worker timings across operating systems, nobody tests Firefox vs WebKit vs Chromium, and almost nobody publishes the verbatim transcripts where small models quietly enter repetition loops.

We built an MIT-licensed benchmark harness ([`whisperweb-dev/browser-whisper-benchmark`](https://github.com/whisperweb-dev/browser-whisper-benchmark), `v1.2.0`) and measured:

`faster-whisper-large-v3-turbo` and `large-v3` on NVIDIA A10G (24 GB)
Here are the four engineering takeaways that surprised us most.

`fp32` beat `int8` by 3.3×
On Apple M3 Pro (Chrome 156, single-threaded Web Worker WASM SIMD, `crossOriginIsolated=false`, 3 warm runs on a 60s TED talk):

`whisper-tiny.en (fp32)` — `[10.51–11.08]` (`whisper-tiny.en (int8)` — `[34.30–36.03]` (`whisper-base.en (fp32)` — `[15.92–17.90]` (
On desktop Chrome, `base.en (fp32)` was roughly **twice as fast AND more accurate** than `tiny.en (int8)`. Quantized `int8` still cuts download size by ~73% (39 MB vs 144.5 MB), making it the right default for mobile browsers — while desktop browsers should default to `fp32` once cached.

Across clean CI runners on the exact same 60-second English talk (`ted_60s`, 3 warm runs):

| OS & CPU | Engine | `tiny.en (fp32)` | `tiny.en (int8)` | `base.en (fp32)` | `base` multi (`int8` ) | 
|---|---|---|---|---|---|
| macOS arm64 (M2 Pro Virtual) | Chromium 136 | **7.02s** (8.55×) | 9.64s (6.22×) | **12.00s** (5.00×) | 15.58s (3.85×) | 
| macOS arm64 (M2 Pro Virtual) | WebKit 18.4 | 8.28s (7.25×) | **8.01s** (7.49×) | 14.09s (4.26×) | **14.71s** (4.08×) | 
| Linux x64 (AMD EPYC 9V74) | Chromium 136 | 11.12s (5.40×) | 11.13s (5.39×) | 19.58s (3.06×) | 19.19s (3.13×) | 
| Windows x64 (AMD EPYC 9V74) | Chromium 136 | 11.18s (5.37×) | 10.98s (5.46×) | 20.19s (2.97×) | 18.98s (3.16×) | 
| Linux x64 (AMD EPYC 9V74) | WebKit 18.4 | 12.02s (4.99×) | 11.43s (5.25×) | 21.61s (2.78×) | 20.49s (2.93×) | 
| Linux x64 (AMD EPYC 9V74) | Firefox | 93.38s (0.64×) | 102.46s (0.59×) | Timed out (>18m) | — | 

Two notable patterns:

`base` multi `base.en fp32` `tiny.en` `large-v3-turbo` diverge sharply
On clean human-verified **Multilingual LibriSpeech** (CC-BY-4.0) and a **30-minute multi-speaker English interview** (Wikimedia Commons CC BY-SA 4.0):

| Task | Local `whisper-base (int8)` | NVIDIA A10G `large-v3-turbo` (`fp16` ) | 
|---|---|---|
| German clean ( `mls_de` , 14.35s) | 33.3% WER (9/27) | **0.0% WER** (0/27) · 0.361s (39.8× RT) | 
| French clean ( `mls_fr` , 12.66s) | 32.4% WER (12/37) | **0.0% WER** (0/37) · 0.367s (34.5× RT) | 
| Spanish clean ( `mls_es` , 14.96s) | 0.0% WER (0/25) | **0.0% WER** (0/25) · 0.348s (43.0× RT) | 
| German 8 kHz phone ( `minds14_de` ) | 26.9% WER (7/26) | **11.5% WER** (3/26) · 0.352s (37.8× RT) | 
| 60s English TED ( `ted_60s` ) | 2.1% WER (4/189) · 15.6–20.9s | **1.1% WER** (2/189) · 0.740s (81.1× RT) | 
| 30:00 multi-speaker interview (4,147 words) | ~6–10 min in browser | **14.44s median** (124.7× RT; cold load 8.16s) | 

*(Note: we also tested `PolyAI/minds14` Spanish/French telephony clips and discovered upstream reference-transcript omissions in both clips — all verbatim outputs are preserved in the repo for inspection.)*

On `ted_60s`, which ends abruptly mid-sentence at 60.0s, `whisper-small.en (int8)` matched **189/189 spoken words verbatim (0.0% pre-cutoff WER)** — then hallucinated six trailing repetitions at the hard cut-off (33.9% raw WER). Meanwhile `faster-whisper-large-v3-turbo` handled the exact same hard cut-off cleanly with zero trailing loops.

```
git clone https://github.com/whisperweb-dev/browser-whisper-benchmark.git
cd browser-whisper-benchmark
npm ci --ignore-scripts
npm run verify:audio
npm run score:wer   # independently recomputes all 628 stored WER entries (0 mismatches)
```


