gin-gonic / gin

Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
https://gin-gonic.com/
MIT License
79.05k stars 8.03k forks source link

40 times faster than what? #2078

Open 0x7FFFFFFFFFFFFFFF opened 5 years ago

0x7FFFFFFFFFFFFFFF commented 5 years ago

Description

The github repo home page states that

Gin is a web framework written in Go (Golang). It features a martini-like API with much better performance, up to 40 times faster thanks to httprouter. If you need performance and good productivity, you will love Gin.

We should make it clear that gin is 40 times faster than what? I'm a new user and this is what I was thinking when I first saw this.

Screenshots

image

yaodingyd commented 5 years ago

It features a martini-like API with much better performance, up to 40 times faster thanks to httprouter.

I think it's pretty clear the comparison is done to martini.

horaciob commented 5 years ago

Close this

diydyq commented 1 year ago

It features a martini-like API with much better performance, up to 40 times faster thanks to httprouter.

I think it's pretty clear the comparison is done to martini.

thanks for the reply.

but as developer from other language, I did not know martini, so it could be better to indicate its' comparison target.

MarshalOfficial commented 1 year ago

I think you can rely on more enterprise benchmarks like this: https://www.techempower.com/benchmarks/#section=data-r21&test=composite

It is very confusing for me personally why a Go framework is not fast enough to be on the top of the ranking?