src/Support/Profiler.php
/**
	 * Tests the execution time of the given `$fn` callable under the specified profile name.
	 *
	 * @param string $profile
	 * @param callable $fn
	 * @return float
	 */
Tests the execution time of the given `$fn` callable under the specified profile name.
@param string $profile
@param callable $fn
@return float
Tests the execution time of the given ` $fn ` callable under the specified profile name . @param string $profile @param callable $fn @return float
public static function test($profile, $fn) {
		static::start($profile);
		$fn();
		return static::stop($profile);
	}
public static function test ( $ profile , $ fn ) { static :: start ( $ profile ) ; $ fn ( ) ; return static :: stop ( $ profile ) ; }
Tests the execution time of the given `$fn` callable under the specified profile name.
Tests the execution time of the given ` $fn ` callable under the specified profile name .