Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Provides a way to profile code

License

NotificationsYou must be signed in to change notification settings

symfony/stopwatch

The Stopwatch component provides a way to profile code.

Getting Started

composer require symfony/stopwatch
useSymfony\Component\Stopwatch\Stopwatch;$stopwatch =newStopwatch();// optionally group events into sections (e.g. phases of the execution)$stopwatch->openSection();// starts event named 'eventName'$stopwatch->start('eventName');// ... run your code here// optionally, start a new "lap" time$stopwatch->lap('foo');// ... run your code here$event =$stopwatch->stop('eventName');$stopwatch->stopSection('phase_1');

Resources

About

Provides a way to profile code

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors53

Languages


[8]ページ先頭

©2009-2025 Movatter.jp