AbstractRestores the AST previous to load().
Protected AbstractcloseProtected AbstractcompilationCompiles the current version of the benchmark that is in the AST. Requires calling .load() first.
Protected AbstractcompileExecutes the current version of the benchmark. Requires calling .compile() first.
the ProcessExecutor used to execute this instance
ProtectedexecuteThe base folder for all benchmark instances. Currently is a folder 'laraBenchmarks' inside the working directory.
An available BenchmarkCompilationEngine that can be used to run compiled the program (implementations may vary). If used, can be used to configure the compilation.
The executor that will be used to run the compiled program, can be used to configure the execution.
AbstractgetPoint in the code representing the execution of the benchmark kernel, around which metrics should be measured.
The name of this BenchmarkInstance.
Saves the current AST and loads this benchmark into the AST.
Protected AbstractloadProtected AbstractloadTest the current instance.
Function with no parameters that will be called after loading the benchmark code as AST.
If true, executes the code after worker is applied.
If execution is enabled, will be called after execution with the corresponding ProcessExecutor.
True, if finished without problems
Protected StaticgetTemporary folder for caching ASTs.
StaticpurgeClears compilation cache of all BenchmarkInstances.
StaticsetIf true, enables caching of parsed files. By default, caching is enabled.
Represents a set of BenchmarkInstances.
Param: name
The name of this benchmark instance.