秒表组件 秒表组件提供了一种分析代码的方法。 入门 $ composer require symfony/stopwatch use Symfony \ Component \ Stopwatch \ Stopwatch ; $ stopwatch = new Stopwatch (); // optionally group events into sections (e.g. phases of the execution) $ stopwatch -> openSection (); // starts event named 'eventName' $ stopwatch -> sta