Perl web framework comparison: any two, head to head
feersum is ahead of mojolicious on 11 of the 11 tests they both run. Their composite scores are not on one scale: mojolicious is ranked among web frameworks and feersum among HTTP engines, and each league is measured against its own leader.
Pick any two of the 2 Perl 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.
| Profile | Conns | mojolicious | feersum | Delta | mojolicious p99 | feersum p99 |
|---|---|---|---|---|---|---|
| Requests per second | ||||||
| Baseline | 4,096 | 68,123 | 2,074,092 | -97% | 172.90ms | 4.56ms |
| Pipelined | 4,096 | 72,483 | 3,641,519 | -98% | 1.69s | 35.10ms |
| Short-lived | 4,096 | 64,432 | 1,832,611 | -96% | 129.00ms | 5.60ms |
| Async Delay | 32,000 | 67,780 | 1,932,947 | -96% | 680.10ms | 20.90ms |
| JSON Comp | 4,096 | 17,750 | 369,061 | -95% | 1.52s | 25.50ms |
| JSON Comp | 16,384 | 16,175 | 363,387 | -96% | 2.42s | 71.40ms |
| JSON TLS | 4,096 | 12,699 | 918,913 | -99% | 272.21ms | 41.00ms |
| Fixed-rate profiles: score out of 100 | ||||||
| Latency-10K | 1,024 | 13.9 | 76.9 | -82% | 2.58ms | 112us |
| Latency-1M | 1,024 | 0.1 | 72.7 | -100% | 18.52s | 246us |
| Latency-500K/8 | 1,024 | 0.0 | 22.5 | -100% | 19.42s | 7.60s |
| 8Gbit | 512 | 11.9 | 84.8 | -86% | 6.22ms | 131us |
Common comparisons
Questions
Is mojolicious faster than feersum?
feersum is ahead of mojolicious on 11 of the 11 tests they both run. Their composite scores are not on one scale: mojolicious is ranked among web frameworks and feersum among HTTP engines, and each league is measured against its own leader. Both run on the same machine, in the same round, against the same profiles.
Which Perl framework is fastest overall?
Among the Perl web frameworks, mojolicious holds the highest HTTP/1.1 composite, at 393; among the Perl HTTP engines, feersum holds the highest HTTP/1.1 composite, at 4689. 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 Perl entry
Results updated · Perl composite ranking · Compare across languages · Other languages · Open the leaderboard