Which version of PHP do you use? How many additional service providers do you hook into the booting?
For example below is what I get on my LEMP stack using PHP 5.5.9 which is half the time it took on 5.4 with a simple blogging application:
Booting (28.36ms)
Application (9.2ms)
After application (3.06ms)
However I then utilize caching within nginx so most page requests are served up in under 10ms.
As an example of a "big" application with 20 or so services booted on top of laravel and 30-40 queries per page under PHP5.4 we get (on our dev box):
Booting (244.88ms)
Application (60.69ms)
After application (2.32ms)
I will give it a shot using PHP 5.5.9 currently using PHP 5.3.10-1ubuntu3.9 with Suhosin-Patch (cli) (built: Dec 12 2013 04:27:25)
Looks like that did the trick
Booting (28.14ms)
Application (19.1ms)
After application (1.99ms)
updated to: PHP 5.5.9-1+sury.org~precise+1 (cli) (built: Feb 13 2014 15:53:53) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community