Measured

Compiles in your browser. No build queue.

0.9 s
from pressing Run after an edit to the simulation running
Blink on an Arduino Uno, unthrottled
14.8 s
for a first-ever visit, compiler download included
Blink on an Arduino Uno, on the Chromebook-class stand-in

Mokxi compiles your sketch with a real clang running inside your own browser tab, so a build never waits for a shared server.

Unthrottled

The machine as it is

Here is how long it takes from opening a sketch to a running simulation, measured in a real browser by a script you can run yourself, with the method beside every number.

No throttling: our cloud build server, served from the same machine, so the first-visit column is the compiler starting and building, not a network.

SketchFirst visitlink to runningComing backlink to runningEach editRun to running
Blink on an Arduino UnoArduino Uno (AVR)3.6 s2.5 s after Run2.7 s1.9 s after Run0.9 s
An SSD1306 OLED on an Uno, with the Adafruit librariesArduino Uno (AVR)4.2 s3.4 s after Run3.3 s2.4 s after Run0.9 s
An LED chaser on a Raspberry Pi PicoRaspberry Pi Pico (RP2040)3.8 s2.9 s after Run2.7 s1.9 s after Run0.9 s
Blink on an ESP32 DevKitCESP32 (Xtensa)3.7 s3.0 s after Run2.6 s1.9 s after Run0.9 s

Measured 2026-10-26: median of 3 runs per sketch, Chromium 153.0.8010.12, Intel(R) Xeon(R) Processor @ 2.10GHz, 4 cores, 16 GB, load average 0.48 when the run began.

Chromebook-class stand-in

With a 4x CPU slowdown and a 20 Mbit/s network

The same build under Chrome DevTools’ 4x CPU slowdown and a network capped at 20 Mbit/s down, 5 up, 40 ms: a stand-in for a school Chromebook on a shared connection.

SketchFirst visitlink to runningComing backlink to runningEach editRun to running
Blink on an Arduino UnoArduino Uno (AVR)14.8 s10.8 s after Run5.1 s2.3 s after Run1.0 s
An SSD1306 OLED on an Uno, with the Adafruit librariesArduino Uno (AVR)16.1 s11.9 s after Run6.5 s3.3 s after Run1.5 s
An LED chaser on a Raspberry Pi PicoRaspberry Pi Pico (RP2040)15.1 s10.9 s after Run6.0 s2.9 s after Run1.2 s
Blink on an ESP32 DevKitCESP32 (Xtensa)15.0 s11.2 s after Run4.7 s2.3 s after Run1.1 s

Measured 2026-10-26: median of 3 runs per sketch, Chromium 153.0.8010.12, Intel(R) Xeon(R) Processor @ 2.10GHz, 4 cores, 16 GB, load average 0.49 when the run began.

Reading the numbers

What each column is, and what it waits on.

Three moments a visitor actually waits through.

First visit

First visit is a brand-new browser profile with nothing cached: from opening the sketch’s link to the simulation running a fresh build of it. It includes downloading the compiler, 15.6 MB for the AVR, ARM and RISC-V boards and 16.0 MB for the Xtensa ESP32 boards (Brotli-compressed from 94.1 MB and 96.8 MB), and building the board’s runtime library once. That is the slowest number on the page, and it happens once per browser.

The throttled table

Read the first-visit column of the throttled table with that download in mind. At 20 Mbit/s, 15.6 MB takes about 6 seconds by arithmetic alone. The rest of a first visit is the page loading, the compiler starting and the board’s runtime library being built, all with the processor slowed four times.

Coming back and each edit

Coming back is a new tab in the same browser: the compiler and the runtime come out of the cache, and only your sketch is compiled. Each edit after is pressing Run again after changing the sketch in the same tab: the compiler is already loaded, so this is the compile, the link and the simulator starting.

The smaller number

The smaller number under a time is the part after Run is pressed. The rest is the editor page itself loading. An untouched example runs its prebuilt program with no compile at all, so the script adds a comment to every sketch before pressing Run: each number here is a real compile.

Method

How we measured, and how you can too

One script, committed to the repository, that drives a real Chromium.

The script

The script is web/scripts/bench-first-run.mjs. It uses Playwright to open the editor on each built-in sketch, waits for the simulator to load, types a comment at the end of the sketch, presses Run and waits for the Run button to turn into Stop, which happens when the build has finished and the simulation has started. It does this in a fresh browser profile, then in a new tab of the same profile, then once more in that tab, and reports the median of three samples. Nothing is smoothed and no sample is dropped.

Run it yourself

Run it yourself with node scripts/bench-first-run.mjs from the web folder for mokxi.com, or with --serve dist for a local build. --profile throttled adds the slow profile and --json out.json keeps every sample. The samples behind the tables above are in proofs/fast/ in the source code.

One board left out

One board is missing on purpose. While we were measuring, an edited ESP32-C3 sketch failed to build in the browser: the compiler crashes while it builds that board’s runtime library, and the prebuilt ESP32-C3 examples still run. A failed build is not a time, so the ESP32-C3 is left out of the tables until it is fixed, rather than shown with a number that would mean nothing.

The throttled profile

The throttled profile is Chrome DevTools’ 4x CPU slowdown, applied to the page and to every worker it starts, the compiler’s included, plus a network capped at 20 Mbit/s down and 5 Mbit/s up with 40 ms of latency. It stands in for a school Chromebook on a shared connection. It is a stand-in, not a Chromebook, and a real one may be faster or slower.

Where these numbers come from

Where these numbers come from, plainly: our build machine is a shared cloud Linux server, not a laptop on a desk, and its network reaches the internet only through a proxy that made timing mokxi.com itself meaningless. So the script served a production build of this site from the same machine, with the compiler Brotli-compressed exactly as mokxi.com sends it. Under the unthrottled profile that means the download costs almost nothing, and the first-visit column there is the compiler starting and building, not your network; the throttled profile puts a 20 Mbit/s network back. We waited for the machine to go quiet before each profile, and the load average under each table says how quiet it was. Run the script and you will have your own numbers instead of ours.

Why it matters

Nobody else’s build is ahead of yours

A compiler on a server is shared; a compiler in your tab is not.

A server build, shared

Wokwi compiles sketches on its servers. It is an excellent simulator, its paid plans include monthly fast build minutes, and a server build is what lets it take any library from the Arduino Library Manager. On its free plan, though, people have reported waiting on a busy shared build server for years, in public, on Wokwi’s own issue tracker and on the Arduino Forum:

What we can say

We have not measured Wokwi, and none of the numbers on this page are Wokwi’s. The quotes are its users’ own words, linked so you can read them in full. What we can say is structural: a build in your browser cannot be queued behind somebody else’s, because there is no somebody else.

Mokxi and Wokwi, compared fairly has more on the two tools, including where Wokwi is the better pick.

FAQ

Questions about the numbers.

Does Mokxi have a build queue?

No. The compiler, a real clang and lld built for WebAssembly, runs inside your own browser tab, so nobody else’s build is ever ahead of yours and there are no build minutes to run out of. The trade is a one-time download of the compiler on the first build in a fresh browser.

Why is the first run slower than the rest?

The first build in a fresh browser downloads the compiler and builds the board’s runtime library once. Both are kept in the browser’s cache, so a return visit compiles only your sketch, and an edit after that recompiles only what changed.

Can I run the benchmark myself?

Yes. Check out the repository, run npm install in web, and run node scripts/bench-first-run.mjs. It opens the editor in Chromium against mokxi.com, or against a local build with --serve dist, and prints the same table this page shows.

Is a compile in the browser slower than on a server?

Per build, a fast dedicated server can be quicker than a browser on a slow laptop, and on a Chromebook-class machine the first build is the slowest number on this page. What the browser removes is the wait for a shared server: a build here is never queued behind anyone else’s.

Time it yourself

Open the editor, change the blink delay and press Run. The compiler is already on its way into your browser.