• With issues:
  • go version:
  • gin version (or commit ref):
  • operating system:

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

Gin 40 times faster than what?

Comment From: yaodingyd

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.

Comment From: horaciob

Close this

Comment From: diydyq

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.

Comment From: MarshalOfficial

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?

Comment From: zeek0x

Comparing performance with a framework that has been unmaintained and last updated 9 years ago seems to lack practical relevance. Such wording may confuse beginners who are unfamiliar with go-martini/martini. I believe it would be better to either update the comparison or remove it for clarity.