I'd like to check the performance of a php framework, Lumen. So I use ab to have this test. But two very different results came from the following two commads:
ab -n 100 -c 20 http://local.lumen.com/login/
and
ab -n 100 -c 20 http://local.lumen.com/login
the first one is way much faster than the second one. QPS is like 7000+ vs 40+. My question is why, and which one should I trust.
If I visit these two URLs on browser, both of them leads to the same page, which is http://local.lumen.com/login
. This page doesn't have much things except a captcha. I tried this test on another framework Laravel. The difference is still there.
P.S. Environment: win7 x86_64, wampserver 2.5