简体   繁体   中英

Very long “Router Dispatch” in Clockwork with Laravel 4 on localhost

I've got a Laravel app setup locally with (what seems to me) very poor performance as you can see below:

Laravel 4时间线与发条

My setup:

  • W8 on a pretty fast laptop with SSD
  • XAMPP 3.2.1
  • Laravel 4.1.*
  • Clockwork 1.* (only added the controller event as desribed in the docs)
  • Debug mode true

The scenario described:

  • A logged in user access a page with a list of prospects : 1216ms
  • Then the user logs out : 1164ms
  • Finally the user is redirected to the login page : 1165ms

As you can see in every single request the bottleneck is the "Router Dispatch" event. What can I do to dig further, and most importantly what can I do to improve its duration?

Or maybe because this is a dev environnment these are expected numbers? (I don't believe so, but I might be wrong).

将我的XAMPP更新为最新版本并将Laravel更新为4.2之后,此问题已自行解决。

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