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 6372 and 5932.
Pick any two of the 15 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,539,295 | 2,623,678 | -3% | 3.57ms | 3.47ms |
| Pipelined | 4,096 | 18,511,670 | 18,543,424 | -0% | 7.90ms | 7.93ms |
| Short-lived | 4,096 | 2,036,184 | 2,062,489 | -1% | 6.96ms | 6.96ms |
| Async Delay | 32,000 | 1,520,864 | 1,519,042 | +0% | 30.50ms | 30.60ms |
| Latency-10K | 1,024 | 9,982 | 9,983 | -0% | 103.0us | 106.0us |
| Latency-1M | 1,024 | 998,244 | 997,737 | +0% | 241.0us | 246.0us |
| Latency-500K/8 | 1,024 | 376,681 | 377,273 | -0% | 6301696.0us | 6785024.0us |
| JSON Comp | 4,096 | 650,735 | 290,414 | +124% | 23.10ms | 41.40ms |
| JSON Comp | 16,384 | 636,030 | 288,805 | +120% | 52.10ms | 94.00ms |
| JSON TLS | 4,096 | 1,135,135 | 902,093 | +26% | 120.60ms | 106.82ms |
| 8Gbit | 512 | 49,435 | 49,441 | -0% | 142.0us | 137.0us |
| Static TLS | 1,024 | 573,390 | 579,542 | -1% | 28.94ms | 27.59ms |
| Async DB | 1,024 | 240,544 | 240,295 | +0% | 29.40ms | 23.00ms |
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 6372 and 5932. 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 10 of the 13 profiles they both run, and behind on 2. On the HTTP/1.1 composite they score 6372 and 3632. 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 6372 and 2252. 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 11 of the 13 profiles they both run, and behind on 2. On the HTTP/1.1 composite they score 5932 and 3632. Both run on the same machine, in the same round, against the same profiles.
Which Go framework is fastest overall?
fib-tuned holds the highest HTTP/1.1 composite of the Go entries, at 7101. 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