Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在查看 Symfony2 网络分析器中的时间线。总请求时间为 800ms,初始化时间为 750ms。详细的细分显示了 50 毫秒内发生的所有有用信息。但是这 750 毫秒有什么意义呢?如果是缓存预热,为什么即使在后续刷新时它也会保留?
注意:这是开发环境。我不是在进行性能调整,我只是好奇为什么它占了时间配置文件的很大一部分。
代码的相关部分在这里:
https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpKernel/DataCollector/TimeDataCollector.php#L110
具体来说This is the time spent until the beginning of the request handling.
This is the time spent until the beginning of the request handling.