Methods |
public
|
__construct()
|
#
|
public
|
benchmark_all(int $iterations = 1000, string $testclass = null): boolean
Benchmark all callable class methods
Benchmark all callable class methods
|
#
|
public
|
exec_named_args(): bool
Test execution using named arguments
Test execution using named arguments
|
#
|
public
|
exec_no_args(): bool
Test execution without named arguments
Test execution without named arguments
|
#
|
public
|
exec_fail()
|
#
|
public
|
exec_additional_args()
-----------------------------------
crap tested that I forgot to remove
|
#
|
public
|
exec_quotes()
|
#
|
public
|
backend_performance($n = 10000)
Profile backend performance
Profile backend performance
|
#
|
public
|
benchmark(Closure|string $func, int $iterations = 1000): float
Benchmark apnscp function
Benchmark apnscp function
Parameters
$func |
fully-qualified function
|
|
#
|
public
|
backend_emitter(null $args = ''): mixed
Frontend emitter to evaluate backend performance
Frontend emitter to evaluate backend performance
|
#
|
public
|
backend_collector(null $args = ''): mixed
Backend collector to evaluate performance
Backend collector to evaluate performance
|
#
|
public
|
config_bm()
|
#
|
public
|
compare(string $func1, string $func2, int $iterations = 1000): int
Comparatively benchmark functions
Comparatively benchmark functions
Returns
1 if $func1 faster than $func2, -1 vice-versa
|
#
|
public
|
config($conf = null)
|
#
|
public
|
config2($conf = null)
|
#
|
public
|
sudo()
|
#
|
public
|
fn_decompose($cmd)
|
#
|
public
|
mail()
|
#
|
public
|
message_class(string $class, string $confirmation = 'Hello!'): bool|void
ER wrapper
|
#
|
public
|
sleep(int $time = 10): bool
Sleep backend for duration
Sleep backend for duration
|
#
|
public
|
now(): false|string
Get locale-specific time
|
#
|
public
|
context_performance()
|
#
|
public
|
metrics(string $attr = null)
|
#
|
public
|
sigchld_exit(int $code, bool $backend = true): int
|
#
|