๐Ÿ“‚ profiler

โšก profiler::disable

Disable the profiler if previously activated with profiler::enable.

Example usage:

profiler::disable

โšก profiler::enable

Enables the profiler and start writing to the given file. The profiler will also be active in subshells of this current shell.

Inputs:

  • $1: path as string:

    the file to write to.

Example usage:

profiler::enable "${HOME}/valet-profiler-${BASHPID}.txt"

There can be only one profiler active at a time.

โšก profiler::pause

Pause the profiler if previously activated with profiler::enable.

Example usage:

profiler::pause

โšก profiler::resume

Resume the profiler if previously paused with profiler::pause.

Example usage:

profiler::resume

Important

Documentation generated for the version 0.33.0 (2025-08-31).