The same API on three JavaScript runtimes, each as a single process and with one worker per CPU, driven by the same k6 load test as the Go framework and Laravel PHP runtime benchmarks, on the same machine.
Whole run, all five scenarios combined. Latency counts successful responses only.
What the numbers say, and what they don't.
Average latency in ms, with p95 below. Green marks the best JS runtime in each row. The grey columns are the fastest Go framework and the fastest PHP runtime by throughput.
Go and PHP ran on the same VM, with the same k6 script and database schema.
Everything runs in Docker Compose on one VM. Runtimes are benchmarked one at a time.