• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI 4.0 Micro-framework?

#9
(04-16-2015, 11:39 AM)no1youknowz Wrote: 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.
Can you PM your lumen controller, view and route. Once I setup a controller which accepted a variable which I then sent to a view. I wasn't as impressed with the speed.

The default closure lumen uses for \ isn't a real world setup.

DM


Messages In This Thread
CI 4.0 Micro-framework? - by no1youknowz - 04-15-2015, 09:06 PM
RE: CI 4.0 Micro-framework? - by ivantcholakov - 04-15-2015, 09:24 PM
RE: CI 4.0 Micro-framework? - by ciadmin - 04-15-2015, 10:05 PM
RE: CI 4.0 Micro-framework? - by sv3tli0 - 04-15-2015, 10:36 PM
RE: CI 4.0 Micro-framework? - by gadelat - 04-16-2015, 01:39 AM
RE: CI 4.0 Micro-framework? - by no1youknowz - 04-16-2015, 11:39 AM
RE: CI 4.0 Micro-framework? - by dmyers - 04-17-2015, 10:27 AM
RE: CI 4.0 Micro-framework? - by no1youknowz - 04-17-2015, 10:44 AM
RE: CI 4.0 Micro-framework? - by dmyers - 04-17-2015, 11:50 AM
RE: CI 4.0 Micro-framework? - by no1youknowz - 04-17-2015, 02:33 PM
RE: CI 4.0 Micro-framework? - by dmyers - 04-16-2015, 07:37 AM
RE: CI 4.0 Micro-framework? - by mwhitney - 04-16-2015, 08:51 AM
RE: CI 4.0 Micro-framework? - by PaulD - 04-20-2015, 07:47 AM
RE: CI 4.0 Micro-framework? - by no1youknowz - 04-20-2015, 07:38 PM
RE: CI 4.0 Micro-framework? - by kilishan - 04-20-2015, 07:51 PM
RE: CI 4.0 Micro-framework? - by skunkbad - 04-27-2015, 06:55 PM
RE: CI 4.0 Micro-framework? - by gadelat - 04-28-2015, 03:54 AM
RE: CI 4.0 Micro-framework? - by ferdhika - 07-05-2015, 02:03 AM
RE: CI 4.0 Micro-framework? - by albertleao - 07-09-2015, 07:38 AM
RE: CI 4.0 Micro-framework? - by kenjis - 07-09-2015, 03:04 PM
RE: CI 4.0 Micro-framework? - by apsweb - 07-24-2015, 09:18 PM
RE: CI 4.0 Micro-framework? - by ignitedcms - 07-25-2015, 03:24 AM
RE: CI 4.0 Micro-framework? - by ignitedcms - 07-31-2015, 01:22 PM
RE: CI 4.0 Micro-framework? - by marksman - 07-06-2016, 03:34 AM
RE: CI 4.0 Micro-framework? - by condor - 07-08-2016, 02:14 AM
RE: CI 4.0 Micro-framework? - by ivantcholakov - 07-09-2016, 08:57 AM
RE: CI 4.0 Micro-framework? - by Ivo Miranda - 07-09-2016, 01:40 PM
RE: CI 4.0 Micro-framework? - by John_Betong - 07-13-2018, 05:23 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.