Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New benchmark request #88

Closed
alehano opened this issue Jun 3, 2015 · 3 comments
Closed

New benchmark request #88

alehano opened this issue Jun 3, 2015 · 3 comments

Comments

@alehano
Copy link

alehano commented Jun 3, 2015

Gin https://github.com/gin-gonic/gin now also have zero memory allocation. Could you please update benchmarks?

@vishr vishr closed this as completed in 24ac4dc Jun 3, 2015
@vishr
Copy link
Member

vishr commented Jun 3, 2015

Echo still shines 👍 can someone give Echo a shoutout?

@manucorporat
Copy link

There was a very important regression bug in Gin, it is fixed. I will run the performance tests again. thank you guys.

@manucorporat
Copy link

@vishr @alehano

BenchmarkEcho_Param 10000000           129 ns/op           0 B/op          0 allocs/op
BenchmarkGin_Param  10000000           130 ns/op           0 B/op          0 allocs/op
BenchmarkEcho_Param5     5000000           258 ns/op           0 B/op          0 allocs/op
BenchmarkGin_Param5  5000000           221 ns/op           0 B/op          0 allocs/op
BenchmarkEcho_Param20    2000000           690 ns/op           0 B/op          0 allocs/op
BenchmarkGin_Param20     3000000           542 ns/op           0 B/op          0 allocs/op
BenchmarkEcho_ParamWrite     5000000           243 ns/op           8 B/op          1 allocs/op
BenchmarkGin_ParamWrite  5000000           324 ns/op           0 B/op          0 allocs/op
BenchmarkEcho_GithubStatic  10000000           170 ns/op           0 B/op          0 allocs/op
BenchmarkGin_GithubStatic   10000000           157 ns/op           0 B/op          0 allocs/op
BenchmarkEcho_GithubParam    5000000           296 ns/op           0 B/op          0 allocs/op
BenchmarkGin_GithubParam     5000000           250 ns/op           0 B/op          0 allocs/op
BenchmarkEcho_GithubAll    30000         59623 ns/op           0 B/op          0 allocs/op
BenchmarkGin_GithubAll     30000         51971 ns/op           0 B/op          0 allocs/op
BenchmarkEcho_GPlusStatic   10000000           127 ns/op           0 B/op          0 allocs/op
BenchmarkGin_GPlusStatic    20000000           123 ns/op           0 B/op          0 allocs/op
BenchmarkEcho_GPlusParam    10000000           173 ns/op           0 B/op          0 allocs/op
BenchmarkGin_GPlusParam 10000000           168 ns/op           0 B/op          0 allocs/op
BenchmarkEcho_GPlus2Params   5000000           238 ns/op           0 B/op          0 allocs/op
BenchmarkGin_GPlus2Params   10000000           209 ns/op           0 B/op          0 allocs/op
BenchmarkEcho_GPlusAll    500000          2934 ns/op           0 B/op          0 allocs/op
BenchmarkGin_GPlusAll     500000          2564 ns/op           0 B/op          0 allocs/op
BenchmarkEcho_ParseStatic   10000000           131 ns/op           0 B/op          0 allocs/op
BenchmarkGin_ParseStatic    10000000           128 ns/op           0 B/op          0 allocs/op
BenchmarkEcho_ParseParam    10000000           143 ns/op           0 B/op          0 allocs/op
BenchmarkGin_ParseParam 10000000           138 ns/op           0 B/op          0 allocs/op
BenchmarkEcho_Parse2Params  10000000           181 ns/op           0 B/op          0 allocs/op
BenchmarkGin_Parse2Params   10000000           164 ns/op           0 B/op          0 allocs/op
BenchmarkEcho_ParseAll    300000          5227 ns/op           0 B/op          0 allocs/op
BenchmarkGin_ParseAll     300000          4734 ns/op           0 B/op          0 allocs/op
BenchmarkEcho_StaticAll    50000         40169 ns/op           0 B/op          0 allocs/op
BenchmarkGin_StaticAll     50000         33080 ns/op           0 B/op          0 allocs/op

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants