Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 789 Bytes

stopwatch_task.md

File metadata and controls

39 lines (26 loc) · 789 Bytes

StopwatchTask

Logs (at info level, on the cleverage_process_task channel) every event of the __root__ section of the Symfony Stopwatch component. Useful to profile a process.

Requires symfony/stopwatch (composer require symfony/stopwatch): without it, the task fails with an explicit message.

Task reference

  • Service: CleverAge\ProcessBundle\Task\Debug\StopwatchTask
  • Code: stopwatch (task: stopwatch)

Accepted inputs

Input is ignored

Possible outputs

null: no output is set

Options

This task has no option.

Examples

  • Log stopwatch events
# Task configuration level
stopwatch:
  task: stopwatch