class Benchmark (View source)
| static array|float | measure(Closure|array $benchmarkables, int $iterations = 1)
Measure a callable or array of callables over the given number of iterations. | |
| static array | value(callable $callback) No description | |
| static void | dd(Closure|array $benchmarkables, int $iterations = 1)
Measure a callable or array of callables over the given number of iterations, then dump and die. |
Measure a callable or array of callables over the given number of iterations.
No description
Measure a callable or array of callables over the given number of iterations, then dump and die.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Support/Benchmark.html