Overview
Class for benchmarking the speed of different methods.
Benchmark methods are prefixed with "bench" and are automatically run $loops number of times when you call Solar_Test_Bench::run($loops).
Configuration Keys
Constants
None.
Public Properties
The Solar_Test_Bench class has no public properties; try the list of all properties.
Public Methods
These are all the public methods in the Solar_Test_Bench class.
You can also view the list of all public, protected, and private methods.
-
__construct()
-
Constructor.
-
__destruct()
-
Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
-
dump()
-
Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
-
locale()
-
Looks up class-specific locale strings based on a key.
-
loop()
-
Runs each benchmark method for a certain number of loops.
-
setup()
-
Executes this code before running any benchmarks.
-
teardown()
-
Executes this code after running all benchmarks.
-
time()
-
Runs each benchmark method for a certain number of minutes.