Go web framework comparison: any two, head to head
fiber is quicker than fiber-tuned on 7 of the 13 profiles they both run, and behind on 6. On the HTTP/1.1 composite they score 6394 and 5726.
Pick any two of the 11 Go 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. What each profile measures.
| Profile | Conns | fiber-tuned req/sec | fiber req/sec | Delta | fiber-tuned p99 | fiber p99 |
|---|---|---|---|---|---|---|
| Baseline | 4,096 | 2,495,624 | 2,569,980 | -3% | 3.64ms | 3.60ms |
| Pipelined | 4,096 | 16,909,280 | 17,195,479 | -2% | 8.35ms | 8.60ms |
| Short-lived | 4,096 | 2,004,197 | 2,049,170 | -2% | 7.05ms | 6.82ms |
| Async Delay | 32,000 | 1,517,624 | 1,519,706 | -0% | 30.70ms | 30.60ms |
| Latency-10K | 1,024 | 9,982 | 9,983 | -0% | 106.0us | 105.0us |
| Latency-1M | 1,024 | 998,228 | 997,607 | +0% | 249.0us | 256.0us |
| Latency-500K/8 | 1,024 | 369,171 | 374,319 | -1% | 6445056.0us | 6481920.0us |
| JSON Comp | 4,096 | 659,490 | 178,046 | +270% | 23.20ms | 59.70ms |
| JSON Comp | 16,384 | 641,662 | 179,380 | +258% | 51.70ms | 155.00ms |
| JSON TLS | 4,096 | 1,052,542 | 848,171 | +24% | 108.37ms | 119.01ms |
| 8Gbit | 512 | 49,337 | 49,172 | +0% | 142.0us | 147.0us |
| Static TLS | 1,024 | 546,827 | 557,319 | -2% | 31.73ms | 29.64ms |
| Async DB | 1,024 | 242,289 | 238,426 | +2% | 31.10ms | 27.10ms |
Common comparisons
fiber-tuned vs fiber · fiber-tuned vs go-fasthttp · fiber-tuned vs echo · fiber vs go-fasthttp · fiber vs echo · go-fasthttp vs echo
Questions
Is fiber-tuned faster than fiber?
fiber is quicker than fiber-tuned on 7 of the 13 profiles they both run, and behind on 6. On the HTTP/1.1 composite they score 6394 and 5726. Both run on the same machine, in the same round, against the same profiles.
Is fiber-tuned faster than go-fasthttp?
fiber-tuned is quicker than go-fasthttp on 9 of the 11 profiles they both run, and behind on 1. On the HTTP/1.1 composite they score 6394 and 3234. Both run on the same machine, in the same round, against the same profiles.
Is fiber-tuned faster than echo?
fiber-tuned is quicker than echo on 12 of the 13 profiles they both run, and behind on 1. On the HTTP/1.1 composite they score 6394 and 2295. Both run on the same machine, in the same round, against the same profiles.
Is fiber faster than go-fasthttp?
fiber is quicker than go-fasthttp on 9 of the 11 profiles they both run, and behind on 2. On the HTTP/1.1 composite they score 5726 and 3234. Both run on the same machine, in the same round, against the same profiles.
Which Go framework is fastest overall?
fiber-tuned holds the highest HTTP/1.1 composite of the Go entries, at 6394. 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 Go entry
Results updated · Go composite ranking · Compare across languages · Other languages · Open the leaderboard