HttpArena
Comparisons

Go web framework comparison: any two, head to head

go-fasthttp is quicker than fiber on 6 of the 12 profiles they both run, and behind on 6. On the HTTP/1.1 composite they score 333 and 179.

Pick any two of the 7 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.

ProfileConnsgo-fasthttp req/secfiber req/secDeltago-fasthttp p99fiber p99
Baseline5121,374,9541,054,820+30%982us3.90ms
Baseline4,0961,258,4831,085,775+16%4.01ms15.00ms
Pipelined51214,170,36011,802,044+20%1.46ms2.04ms
Pipelined4,09614,135,60911,930,966+18%8.86ms11.50ms
Short-lived512201,821319,222-37%59.80ms16.70ms
Short-lived4,096716,630385,728+86%12.70ms109.70ms
JSON4,096462,413289,439+60%219.10ms407.00ms
JSON Comp51234,160127,783-73%164.10ms44.80ms
JSON Comp4,09635,018131,862-73%1.69s170.60ms
JSON Comp16,38426,108132,843-80%3.75s379.10ms
Upload322,0232,182-7%72.40ms47.30ms
Upload2562,1552,362-9%484.30ms327.90ms

Common comparisons

go-fasthttp vs fiber · go-fasthttp vs go-stdlib · go-fasthttp vs echo · fiber vs go-stdlib · fiber vs echo · go-stdlib vs echo

Questions

Is go-fasthttp faster than fiber?

go-fasthttp is quicker than fiber on 6 of the 12 profiles they both run, and behind on 6. On the HTTP/1.1 composite they score 333 and 179. Both run on the same machine, in the same round, against the same profiles.

Is go-fasthttp faster than go-stdlib?

go-fasthttp is quicker than go-stdlib on 7 of the 12 profiles they both run, and behind on 5. On the HTTP/1.1 composite they score 333 and 173. Both run on the same machine, in the same round, against the same profiles.

Is go-fasthttp faster than echo?

go-fasthttp is quicker than echo on 7 of the 12 profiles they both run, and behind on 5. On the HTTP/1.1 composite they score 333 and 170. Both run on the same machine, in the same round, against the same profiles.

Is fiber faster than go-stdlib?

fiber is quicker than go-stdlib on 7 of the 12 profiles they both run, and behind on 5. On the HTTP/1.1 composite they score 179 and 173. Both run on the same machine, in the same round, against the same profiles.

Which Go framework is fastest overall?

go-fasthttp holds the highest HTTP/1.1 composite of the Go entries, at 333. 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 · Other languages · Open the leaderboard