简体   繁体   中英

Laravel - Long initialisation time

I maintain several Laravel projects. They usually boot quite quickly but I have that one project which boots very slow.

Project is written in Laravel 5.0, uses PHP 5.4.24, EasyPHP DevServer on Windows Server 2012.

Here's a screenshot from Chrome Clockwork plugin: Laravel初始化时间

For example in another Laravel project(same version - 5.0) running on my local computer(not very fast) it takes 80 - 140 ms to initialise. Furthermore, Application initialisation event ends when Router dispatch starts which is clearly not the case in the picture above.

Another issue(maybe related, maybe not) is that whenever I run composer update it takes several minutes to run all those tasks with merely 6 requirements

尝试使用服务器中的日志[错误,警告]检查问题。在大多数情况下,您会在服务器日志文件中看到问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM