HttpArena
Comparisons

V web framework comparison: any two, head to head

vanilla-epoll is ahead of vanilla-io_uring on 8 of the 14 tests they both run, and behind on 6. On the HTTP/1.1 composite vanilla-epoll scores 5445 and vanilla-io_uring 5160.

Pick any two of the 3 V entries. Requests per second is the best of three runs and the delta is the first column against the second; every row is the same profile at the same connection count, on the same machine. The fixed-rate profiles offer every entry the same request rate, so they are compared on their score out of 100 instead, which is CPU cost and latency at that rate. What each profile measures.

ProfileConnsvanilla-epollvanilla-io_uringDeltavanilla-epoll p99vanilla-io_uring p99
Requests per second
Baseline4,0964,018,4334,306,423-7%1.29ms1.36ms
Pipelined4,09639,307,08442,910,726-8%1.87ms1.98ms
Short-lived4,0961,052,1372,624,432-60%40.00ms2.16ms
Async Delay32,0002,568,42030,682+8271%12.90ms5.00s
JSON Comp4,0962,512,4262,856,398-12%35.60ms2.82ms
JSON Comp16,3842,471,0002,481,8900%158.30ms20.10ms
JSON TLS4,0961,568,1431,545,250+1%599.95ms605.22ms
Static TLS1,0241,095,3691,075,549+2%169.44ms127.55ms
Async DB1,024342,158320,414+7%9.03ms8.44ms
Fortunes1,024193,049186,955+3%7.92ms9.59ms
Fixed-rate profiles: score out of 100
Latency-10K1,02490.989.4+2%106us99us
Latency-1M1,02495.495.00%163us170us
Latency-500K/81,02479.594.4-16%9.72ms1.59ms
8Gbit51252.852.1+1%232us229us

Common comparisons

vanilla-epoll vs vanilla-io_uring · vanilla-epoll vs viltrum · vanilla-io_uring vs viltrum

Questions

Is vanilla-epoll faster than vanilla-io_uring?

vanilla-epoll is ahead of vanilla-io_uring on 8 of the 14 tests they both run, and behind on 6. On the HTTP/1.1 composite vanilla-epoll scores 5445 and vanilla-io_uring 5160. Both run on the same machine, in the same round, against the same profiles.

Is vanilla-epoll faster than viltrum?

viltrum is ahead of vanilla-epoll on 13 of the 24 tests they both run, and behind on 11. Their composite scores are not on one scale: vanilla-epoll is ranked among HTTP engines and viltrum among experimental frameworks, and each league is measured against its own leader. Both run on the same machine, in the same round, against the same profiles.

Is vanilla-io_uring faster than viltrum?

vanilla-io_uring is ahead of viltrum on 7 of the 11 tests they both run, and behind on 4. Their composite scores are not on one scale: vanilla-io_uring is ranked among HTTP engines and viltrum among experimental frameworks, and each league is measured against its own leader. Both run on the same machine, in the same round, against the same profiles.

Which V framework is fastest overall?

Among the V HTTP engines, vanilla-epoll holds the highest HTTP/1.1 composite, at 5445; among the experimental V frameworks, viltrum holds the highest HTTP/1.1 composite, at 7858. Each league is measured against its own leader, and the leagues do not all count the same profiles, so those numbers are not on one scale and the highest of them is not the fastest entry on the page: to set an entry of one league against an entry of another, pick the two in the table above. The composite is throughput over the whole suite; if a service is one shape of workload, compare that profile on its own in the table above, because the order changes.

Every V entry

Results updated · V composite ranking · Compare across languages · Other languages · Open the leaderboard