diff --git a/HttpServer/Events/OnWorkerStart.php b/HttpServer/Events/OnWorkerStart.php index 1e2d2de2..20b8f7da 100644 --- a/HttpServer/Events/OnWorkerStart.php +++ b/HttpServer/Events/OnWorkerStart.php @@ -77,7 +77,10 @@ class OnWorkerStart extends Callback public function onWorker(Server $server, Annotation $annotation) { try { + $time = microtime(true); $annotation->runtime(CONTROLLER_PATH); + $this->debug('load controller time .' . (microtime(true) - $time)); + $annotation->runtime(APP_PATH, CONTROLLER_PATH); Snowflake::setWorkerId($server->worker_pid);