CI 4.0 Micro-framework? |
When I first ran HHVM 3.3.0 with codeigniter the result was horrible. Which is why I jumped to using slim. Now I see that's not the case.
All the tests are run out of the box using - ab -t 60 -c 100 and using HHVM 3.6.1. I ran each ab 3 times to ensure the JIT engine was really warmed up. Then ran it 1 more time. slim 2 - Requests per second: 3613.11 [#/sec] (mean) codeigniter 3.0 - Requests per second: 3614.94 [#/sec] (mean) codeigniter 2.2 - Requests per second: 3732.25 [#/sec] (mean) lumen - Requests per second: 4127.81 [#/sec] (mean) php file with echo "hello world" - Requests per second: 5784.91 [#/sec] (mean) Looks like Lumen here is top dog. It's actually trivial to enable stuff just by commenting the config file. Where I like to focus on, is where the 1657 requests per second go from hello world to lumen. Of course my own requirements are much different than the norm. If I was hosting a simple CMS or little website. I'd throw varnish up and forget about it. But unfortunately, I'm not. Doing 10B impressions a month, well now you need to save where you can. |
Welcome Guest, Not a member yet? Register Sign In |