Linux 6.8, booted in this tab from an initramfs with busybox, with as many CPUs as this device can spare. One awk per CPU draws a trench run, a new one every time. Ctrl+c stops it. Escape, then Tab, leaves the console. This browser could not isolate the page, so the machine has one CPU.
Embed it
<script src="armless.js"></script>
<script>
const vm = new Armless({
wasm: "armless.wasm", // armless-smp.wasm next to it is used for cpus > 1
memory_mb: 512,
cpus: 1,
filesystem: { json: "filesystem.json", baseurl: "filesystem/" },
initial_state: "state.bin.zst", // or boot: { kernel, initrd, cmdline }
network: { tls: "tls.json" }, // the guest's HTTP(S) and WebSockets go out via fetch()
});
vm.on("console", (bytes) => term.write(bytes));
term.onData((text) => vm.console_input(text));
vm.on("ready", () => vm.console_resize(term.cols, term.rows));
</script>