web-frameworks icon indicating copy to clipboard operation
web-frameworks copied to clipboard

Invalid benchmarks

Open esemplastic opened this issue 9 years ago • 3 comments

Hello, I've seen your try to make benchmark tests on different type of routers and web frameworks (which is not the same thing , is like comparing apples with cars, but this is your own choice) but this is not a fair benchmark because some web frameworks running from dynamic ipv6/or ipv4 address and some others from static ipv4.

Take for example the the go/gorillamux vs iris vs echo, go/gorillamux uses regexp while iris uses one of the fastest algorithms for routing (it's well known for that), iris is battle-tested on different type of web applications already, however your benchmark results shows gorilla mux overperform iris and echo, this is not possible because golang's regexp is the slowest method see here http://benchmarksgame.alioth.debian.org/u64q/regexredux.html

EDIT:

Also on Iris you store the path parameter before send it to the client while in echo you send it without storing it to variable, please fix that too.

Thank you!

esemplastic avatar Sep 08 '17 21:09 esemplastic

@esemplastic I didn't commit any updates to the iris code and after that open that issue. I wanna see where I did those modification. Also @hiveminded, "attack on iris"?? I hope you're kidding here..

unreadable avatar Sep 08 '17 22:09 unreadable

If changing listening address from :3000 to localhost:3000 really affects the performance, which is done in this commit, I think the this code should also be changed to localhost:3000

pjmtdw avatar Sep 13 '17 07:09 pjmtdw

Duplicate... Close?!

kalicki avatar Jan 22 '18 21:01 kalicki