Below, is a summary of all classes and their parameters's typehinting status. .
| Method | Argument | Typehint | Default | |||||
| class Arguments | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| get | ||||||||
| toArray | array | |||||||
| class Comparison | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| operator | string | |||||||
| value2 | Value | |||||||
| value1 | Value | |||||||
| tolerance | Value | |||||||
| class MemoryValue | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| unit | string | |||||||
| value | float | |||||||
| toBytes | float | |||||||
| class PercentageValue | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| percentage | float | |||||||
| class PropertyAccess | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| segments | array | |||||||
| resolvePropertyAccess | ||||||||
| valueFromContainer | ||||||||
| class ThroughputValue | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| value | float | |||||||
| unit | string | |||||||
| class TimeValue | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| unit | string | |||||||
| value | float | |||||||
| fromMicroseconds | self | |||||||
| class WithinRangeOf | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| value1 | Value | |||||||
| range | Value | |||||||
| value2 | Value | |||||||
| class NodeMessageFormatter | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| format | string | |||||||
| formatComparison | string | |||||||
| formatTimeValue | string | |||||||
| formatPropertyAccess | string | |||||||
| formatValueWithNormalizedUnit | string | |||||||
| formatPercentageValue | string | |||||||
| formatThroughputValue | string | |||||||
| formatMemoryValue | string | |||||||
| formatNumberValue | string | |||||||
| formatZeroValue | string | |||||||
| class AssertionData | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| fromDistribution | self | |||||||
| getDistribution | Distribution | |||||||
| class AssertionProcessor | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| assert | AssertionResult | |||||||
| buildVariantData | array | |||||||
| class AssertionResult | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| tolerated | self | |||||||
| fail | self | |||||||
| ok | self | |||||||
| isTolerated | bool | |||||||
| isFail | bool | |||||||
| getMessage | string | |||||||
| class ExpressionEvaluator | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| assert | AssertionResult | |||||||
| evaluate | ||||||||
| evaluateComparison | ||||||||
| evaluateTimeValue | ||||||||
| evaluatePropertyAccess | ||||||||
| evaluateWithinRangeOf | ||||||||
| evaluateMemoryValue | float | |||||||
| evaluateTolerance | float | |||||||
| evaluateThroughputValue | float | |||||||
| evaluateZeroValue | int | |||||||
| class ExpressionEvaluatorFactory | ||||||||
| Method | Argument | Typehint | Default | |||||
| createWithArgs | ExpressionEvaluator | |||||||
| class ExpressionLexer | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getCatchablePatterns | array | |||||||
| getNonCatchablePatterns | array | |||||||
| getType | ||||||||
| class ExpressionParser | ||||||||
| Method | Argument | Typehint | Default | |||||
| parse | Node | |||||||
| buildAst | Node | |||||||
| parseComparisonExpression | Comparison | |||||||
| parseValue | Value | |||||||
| parsePropertyAccess | PropertyAccess | |||||||
| parseComparator | string | |||||||
| parseUnitValue | Value | |||||||
| parseNumericValue | ||||||||
| parseUnit | string | |||||||
| parseTolerance | Value | |||||||
| parsePercentageValue | PercentageValue | |||||||
| matchAndMoveNext | void | |||||||
| syntaxError | SyntaxError | |||||||
| interface MessageFormatter | ||||||||
| Method | Argument | Typehint | Default | |||||
| format | string | |||||||
| class VariantAssertionResults | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getIterator | \ArrayIterator | |||||||
| add | void | |||||||
| asArray | array | |||||||
| getVariant | Variant | |||||||
| count | int | |||||||
| hasFailures | bool | |||||||
| failures | self | |||||||
| warnings | self | |||||||
| class Baselines | ||||||||
| Method | Argument | Typehint | Default | |||||
| nothing | void | |||||||
| md5 | void | |||||||
| fwriteFread | void | |||||||
| class AbstractArrayAnnotation | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getExtend | ||||||||
| class AbstractMethodsAnnotation | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getMethods | array | |||||||
| class Assert | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getExpression | string | |||||||
| class Executor | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getConfig | array | |||||||
| getName | string | |||||||
| class Groups | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getGroups | array | |||||||
| class Iterations | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getIterations | array | |||||||
| class OutputMode | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getMode | ||||||||
| class OutputTimeUnit | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getTimeUnit | ||||||||
| getPrecision | ||||||||
| class ParamProviders | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getProviders | array | |||||||
| class Revs | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getRevs | array | |||||||
| class Sleep | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getSleep | int | |||||||
| class Timeout | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getTimeout | float | |||||||
| class Warmup | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getRevs | array | |||||||
| class AnnotationDriver | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getMetadataForHierarchy | BenchmarkMetadata | |||||||
| buildBenchmark | void | |||||||
| buildSubject | void | |||||||
| processSubject | void | |||||||
| processBenchmark | void | |||||||
| resolveValue | array | |||||||
| class AnnotationReader | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getClassAnnotations | ||||||||
| getMethodAnnotations | ||||||||
| collectImports | void | |||||||
| getPhpBenchImports | ||||||||
| getUseImports | ||||||||
| parse | array | |||||||
| class AssertionMetadata | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getConfig | array | |||||||
| class BenchmarkMetadata | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getPath | string | |||||||
| getOrCreateSubject | SubjectMetadata | |||||||
| getSubjects | array | |||||||
| filterSubjectNames | void | |||||||
| filterSubjectGroups | void | |||||||
| hasSubjects | bool | |||||||
| getClass | string | |||||||
| getBeforeClassMethods | array | |||||||
| setBeforeClassMethods | void | |||||||
| getAfterClassMethods | array | |||||||
| setAfterClassMethods | void | |||||||
| getIterator | array | |||||||
| getExecutor | ExecutorMetadata|? | |||||||
| setExecutor | void | |||||||
| interface DriverInterface | ||||||||
| Method | Argument | Typehint | Default | |||||
| getMetadataForHierarchy | BenchmarkMetadata | |||||||
| class ExecutorMetadata | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getName | string | |||||||
| getConfig | array | |||||||
| getRegistryConfig | array | |||||||
| class MetadataFactory | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getMetadataForFile | ?BenchmarkMetadata | |||||||
| validateSubject | void | |||||||
| validateBenchmark | void | |||||||
| validateMethodExists | void | |||||||
| class SubjectMetadata | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getName | string | |||||||
| setParameterSets | void | |||||||
| getParameterSets | array | |||||||
| getBenchmark | BenchmarkMetadata | |||||||
| getGroups | array | |||||||
| inGroups | bool | |||||||
| setGroups | void | |||||||
| getBeforeMethods | array | |||||||
| setBeforeMethods | void | |||||||
| getAfterMethods | array | |||||||
| setAfterMethods | void | |||||||
| getParamProviders | array | |||||||
| setParamProviders | self | |||||||
| getIterations | array | |||||||
| setIterations | void | |||||||
| getRevs | array | |||||||
| setRevs | void | |||||||
| getSkip | bool | |||||||
| setSkip | void | |||||||
| getSleep | int | |||||||
| setSleep | void | |||||||
| getOutputTimeUnit | ?string | |||||||
| setOutputTimeUnit | void | |||||||
| getOutputTimePrecision | ?int | |||||||
| setOutputTimePrecision | void | |||||||
| getOutputMode | ?string | |||||||
| setOutputMode | void | |||||||
| getWarmup | array | |||||||
| setWarmup | void | |||||||
| getRetryThreshold | float|? | |||||||
| setRetryThreshold | void | |||||||
| addAssertion | void | |||||||
| setAssertions | void | |||||||
| getAssertions | array | |||||||
| getExecutor | ExecutorMetadata|? | |||||||
| setExecutor | void | |||||||
| getTimeout | float|? | |||||||
| setTimeout | void | |||||||
| setRetryLimit | void | |||||||
| getRetryLimit | ?int | |||||||
| class IniStringBuilder | ||||||||
| Method | Argument | Typehint | Default | |||||
| build | string | |||||||
| class Launcher | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| payload | Payload | |||||||
| resolvePhpBinary | ||||||||
| class Payload | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| setWrapper | void | |||||||
| mergePhpConfig | void | |||||||
| setPhpPath | void | |||||||
| disableIni | void | |||||||
| launch | array | |||||||
| getIniString | string | |||||||
| replaceTokens | string | |||||||
| readFile | string | |||||||
| writeTempFile | string | |||||||
| buildCommandLine | string | |||||||
| removeTmpFile | void | |||||||
| decodeResults | array | |||||||
| class PayloadFactory | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| create | Payload | |||||||
| class ProcessFactory | ||||||||
| Method | Argument | Typehint | Default | |||||
| create | Process | |||||||
| class ReflectionHierarchy | ||||||||
| Method | Argument | Typehint | Default | |||||
| addReflectionClass | void | |||||||
| getIterator | \ArrayObject | |||||||
| getTop | ReflectionClass | |||||||
| hasMethod | bool | |||||||
| hasStaticMethod | bool | |||||||
| isEmpty | bool | |||||||
| class Reflector | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| reflect | ReflectionHierarchy | |||||||
| getParameterSets | array | |||||||
| getClassNameFromFile | string|? | |||||||
| class BaselineManager | ||||||||
| Method | Argument | Typehint | Default | |||||
| addBaselineCallable | void | |||||||
| benchmark | float | |||||||
| class BenchmarkFinder | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| findBenchmarks | Generator | |||||||
| class CartesianParameterIterator | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| current | ||||||||
| next | ||||||||
| key | string | |||||||
| rewind | ||||||||
| valid | bool | |||||||
| update | void | |||||||
| getParameterSet | ParameterSet | |||||||
| class Runner | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| setProgressLogger | void | |||||||
| run | Suite | |||||||
| runBenchmark | void | |||||||
| executeBeforeMethods | void | |||||||
| executeAfterMethods | void | |||||||
| runSubject | Subject | |||||||
| runVariant | void | |||||||
| endVariant | void | |||||||
| runIteration | void | |||||||
| class RunnerConfig | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| create | self | |||||||
| merge | self | |||||||
| getTag | string|? | |||||||
| getIterations | array | |||||||
| getRevolutions | ?array | |||||||
| getWarmup | array|? | |||||||
| getParameterSets | ||||||||
| getSleep | ||||||||
| getRetryThreshold | float|? | |||||||
| getOutputTimeUnit | string|? | |||||||
| getOutputTimePrecision | ||||||||
| getExecutor | ||||||||
| getStopOnError | bool | |||||||
| getAssertions | array | |||||||
| withExecutor | self | |||||||
| withTag | self | |||||||
| withFilters | self | |||||||
| withGroups | self | |||||||
| withIterations | self | |||||||
| withRevolutions | self | |||||||
| withParameters | self | |||||||
| withRetryThreshold | self | |||||||
| withSleep | self | |||||||
| withWarmup | self | |||||||
| withOutputTimePrecision | self | |||||||
| withOutputTimeUnit | self | |||||||
| withStopOnError | self | |||||||
| withAssertions | self | |||||||
| withBaselines | self | |||||||
| getBaselines | SuiteCollection | |||||||
| assertArrayValuesGreaterThanZero | void | |||||||
| assertGreaterThanZero | void | |||||||
| class DumpHandler | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| configure | void | |||||||
| dumpFromInput | void | |||||||
| class ReportHandler | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| configure | void | |||||||
| validateReportsFromInput | void | |||||||
| reportsFromInput | void | |||||||
| class RunnerHandler | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| configure | void | |||||||
| runFromInput | Suite | |||||||
| getParameters | ||||||||
| class SuiteCollectionHandler | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| configure | void | |||||||
| suiteCollectionFromInput | SuiteCollection | |||||||
| class TimeUnitHandler | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| configure | void | |||||||
| timeUnitFromInput | void | |||||||
| class LogCommand | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| configure | void | |||||||
| execute | int | |||||||
| writeLines | ||||||||
| class ReportCommand | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| configure | void | |||||||
| execute | int | |||||||
| class RunCommand | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| configure | void | |||||||
| execute | int | |||||||
| resolveBaselines | SuiteCollection | |||||||
| class SelfUpdateCommand | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| configure | void | |||||||
| execute | ||||||||
| doUpdate | int | |||||||
| doRollback | int | |||||||
| class ShowCommand | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| configure | void | |||||||
| execute | int | |||||||
| class Application | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getDefaultInputDefinition | \Symfony\Component\Console\Input\InputDefinition | |||||||
| configureIO | void | |||||||
| class CharacterReader | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| read | ?string | |||||||
| interface OutputAwareInterface | ||||||||
| Method | Argument | Typehint | Default | |||||
| setOutput | ||||||||
| class AbstractRemoteProvider | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| isApplicable | bool | |||||||
| getInformation | Information | |||||||
| getData | array | |||||||
| name | string | |||||||
| template | string | |||||||
| class Baseline | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| isApplicable | bool | |||||||
| getInformation | Information | |||||||
| class Git | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| isApplicable | bool | |||||||
| getInformation | \PhpBench\Environment\Information | |||||||
| exec | Process | |||||||
| getGitPath | string|? | |||||||
| class Opcache | ||||||||
| Method | Argument | Typehint | Default | |||||
| name | string | |||||||
| template | string | |||||||
| class Php | ||||||||
| Method | Argument | Typehint | Default | |||||
| name | string | |||||||
| template | string | |||||||
| class Uname | ||||||||
| Method | Argument | Typehint | Default | |||||
| isApplicable | bool | |||||||
| getInformation | Information | |||||||
| class UnixSysload | ||||||||
| Method | Argument | Typehint | Default | |||||
| isApplicable | bool | |||||||
| getInformation | Information | |||||||
| class Information | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getName | string | |||||||
| offsetGet | ||||||||
| offsetSet | void | |||||||
| offsetExists | bool | |||||||
| offsetUnset | void | |||||||
| getIterator | \ArrayIterator | |||||||
| toArray | array | |||||||
| flattenInformation | array | |||||||
| interface ProviderInterface | ||||||||
| Method | Argument | Typehint | Default | |||||
| isApplicable | bool | |||||||
| getInformation | Information | |||||||
| class Supplier | ||||||||
| Method | Argument | Typehint | Default | |||||
| addProvider | void | |||||||
| getInformations | array | |||||||
| class VcsInformation | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| class DebugExecutor | ||||||||
| Method | Argument | Typehint | Default | |||||
| execute | ExecutionResults | |||||||
| configure | void | |||||||
| class MemoryCentricMicrotimeExecutor | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| class MicrotimeExecutor | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| class TemplateExecutor | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| execute | ExecutionResults | |||||||
| configure | void | |||||||
| createTokens | array | |||||||
| class TestExecutor | ||||||||
| Method | Argument | Typehint | Default | |||||
| configure | void | |||||||
| execute | ExecutionResults | |||||||
| executeMethods | void | |||||||
| healthCheck | void | |||||||
| lastContextOrException | ExecutionContext | |||||||
| hasMethodBeenExecuted | bool | |||||||
| hasHealthBeenChecked | bool | |||||||
| getExecutedContextCount | int | |||||||
| class AlwaysFineHealthCheck | ||||||||
| Method | Argument | Typehint | Default | |||||
| healthCheck | void | |||||||
| class RemoteMethodExecutor | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| executeMethods | void | |||||||
| interface BenchmarkExecutorInterface | ||||||||
| Method | Argument | Typehint | Default | |||||
| execute | ExecutionResults | |||||||
| class CompositeExecutor | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| configure | void | |||||||
| execute | ExecutionResults | |||||||
| healthCheck | void | |||||||
| executeMethods | void | |||||||
| class ExecutionContext | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| fromSubjectMetadataAndIteration | self | |||||||
| getClassName | string | |||||||
| getParameters | array | |||||||
| getClassPath | string | |||||||
| getIterationIndex | int | |||||||
| getWarmup | int | |||||||
| getAfterMethods | array | |||||||
| getBeforeMethods | array | |||||||
| getRevolutions | int | |||||||
| getMethodName | string | |||||||
| getTimeOut | ?float | |||||||
| getParameterSetName | string | |||||||
| class ExecutionResults | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| fromResults | self | |||||||
| add | void | |||||||
| new | self | |||||||
| getIterator | ArrayIterator | |||||||
| count | int | |||||||
| interface HealthCheckInterface | ||||||||
| Method | Argument | Typehint | Default | |||||
| healthCheck | void | |||||||
| interface MethodExecutorInterface | ||||||||
| Method | Argument | Typehint | Default | |||||
| executeMethods | void | |||||||
| class CoreExtension | ||||||||
| Method | Argument | Typehint | Default | |||||
| configure | void | |||||||
| load | void | |||||||
| registerBenchmark | void | |||||||
| registerJson | void | |||||||
| registerCommands | void | |||||||
| registerProgressLoggers | void | |||||||
| registerReportGenerators | void | |||||||
| registerReportRenderers | void | |||||||
| registerFormatter | void | |||||||
| registerAsserters | void | |||||||
| registerRegistries | void | |||||||
| registerEnvironment | void | |||||||
| registerSerializer | void | |||||||
| registerStorage | void | |||||||
| relativizeConfigPath | void | |||||||
| class OutputDirHandler | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| configure | ||||||||
| handleOutputDir | ||||||||
| class ProfileCommand | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| configure | ||||||||
| execute | ||||||||
| class ProfileExecutor | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| configure | void | |||||||
| execute | ExecutionResults | |||||||
| class ProfileCommandTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| testCommand | ||||||||
| testCommandBadGui | ||||||||
| testGui | ||||||||
| testOutputDir | ||||||||
| class XDebugTestCase | ||||||||
| Method | Argument | Typehint | Default | |||||
| setUp | void | |||||||
| phpbench | Process | |||||||
| class XDebugUtilTest | ||||||||
| Method | Argument | Typehint | Default | |||||
| testGenerate | void | |||||||
| provideGenerate | ||||||||
| class XDebugExtension | ||||||||
| Method | Argument | Typehint | Default | |||||
| configure | void | |||||||
| load | void | |||||||
| class XDebugUtil | ||||||||
| Method | Argument | Typehint | Default | |||||
| filenameFromContext | string | |||||||
| class BalanceFormat | ||||||||
| Method | Argument | Typehint | Default | |||||
| format | string | |||||||
| getDefaultOptions | array | |||||||
| class InvertOnThroughputFormat | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| format | string | |||||||
| getDefaultOptions | array | |||||||
| class NumberFormat | ||||||||
| Method | Argument | Typehint | Default | |||||
| format | string | |||||||
| getDefaultOptions | array | |||||||
| class PrintfFormat | ||||||||
| Method | Argument | Typehint | Default | |||||
| format | string | |||||||
| getDefaultOptions | array | |||||||
| class TimeUnitFormat | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| format | string | |||||||
| getDefaultOptions | array | |||||||
| class TruncateFormat | ||||||||
| Method | Argument | Typehint | Default | |||||
| format | string | |||||||
| getDefaultOptions | array | |||||||
| class ClassLoader | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| load | ||||||||
| interface FormatInterface | ||||||||
| Method | Argument | Typehint | Default | |||||
| format | string | |||||||
| getDefaultOptions | array | |||||||
| class FormatRegistry | ||||||||
| Method | Argument | Typehint | Default | |||||
| register | void | |||||||
| get | FormatInterface | |||||||
| class Formatter | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| classesFromFile | void | |||||||
| registerClasses | void | |||||||
| registerClass | void | |||||||
| applyClasses | ||||||||
| substituteTokens | array | |||||||
| class Functional | ||||||||
| Method | Argument | Typehint | Default | |||||
| group | iterable | |||||||
| map | iterable | |||||||
| reduceLeft | ||||||||
| class JsonDecoder | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| decode | array | |||||||
| normalize | ||||||||
| class Distribution | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getMin | ||||||||
| getMax | ||||||||
| getSum | ||||||||
| getStdev | ||||||||
| getMean | ||||||||
| getMode | ||||||||
| getRstdev | ||||||||
| getVariance | ||||||||
| getIterator | \ArrayIterator | |||||||
| getStats | array | |||||||
| getStat | ||||||||
| offsetExists | bool | |||||||
| offsetGet | ||||||||
| offsetSet | void | |||||||
| offsetUnset | void | |||||||
| class FloatNumber | ||||||||
| Method | Argument | Typehint | Default | |||||
| isLessThanOrEqual | bool | |||||||
| isEqual | bool | |||||||
| isWithin | bool | |||||||
| isGreaterThanOrEqual | bool | |||||||
| class Kde | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| evaluate | array | |||||||
| setBandwidth | void | |||||||
| computeCovariance | void | |||||||
| class Statistics | ||||||||
| Method | Argument | Typehint | Default | |||||
| stdev | float | |||||||
| variance | ||||||||
| mean | ||||||||
| kdeMode | float | |||||||
| linspace | array | |||||||
| histogram | array | |||||||
| percentageDifference | float | |||||||
| class ComputedResult | ||||||||
| Method | Argument | Typehint | Default | |||||
| fromArray | ResultInterface | |||||||
| __construct | ||||||||
| getMetrics | array | |||||||
| getKey | string | |||||||
| getZValue | float | |||||||
| getDeviation | float | |||||||
| class MemoryResult | ||||||||
| Method | Argument | Typehint | Default | |||||
| fromArray | ResultInterface | |||||||
| __construct | ||||||||
| getPeak | int | |||||||
| getReal | int | |||||||
| getFinal | int | |||||||
| getMetrics | array | |||||||
| getKey | string | |||||||
| class RejectionCountResult | ||||||||
| Method | Argument | Typehint | Default | |||||
| fromArray | ResultInterface | |||||||
| __construct | ||||||||
| getRejectCount | int | |||||||
| getMetrics | array | |||||||
| getKey | string | |||||||
| class TimeResult | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| fromArray | ResultInterface | |||||||
| getNet | int | |||||||
| getRevTime | ||||||||
| getMetrics | array | |||||||
| getKey | string | |||||||
| class Benchmark | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| createSubjectFromMetadataAndExecutor | Subject | |||||||
| createSubject | Subject | |||||||
| getSubjects | array | |||||||
| getClass | string | |||||||
| getSuite | Suite | |||||||
| getIterator | ArrayIterator | |||||||
| getSubject | Subject|? | |||||||
| class Error | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| fromException | Error | |||||||
| getCode | ||||||||
| getLine | ||||||||
| getFile | ||||||||
| getMessage | ||||||||
| getClass | ||||||||
| getTrace | ||||||||
| class ErrorStack | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getVariant | Variant | |||||||
| getErrors | array | |||||||
| getTop | ||||||||
| getIterator | \ArrayIterator | |||||||
| class Iteration | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getVariant | Variant | |||||||
| getIndex | int | |||||||
| class ParameterSet | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| create | self | |||||||
| getName | string | |||||||
| getIndex | string | |||||||
| class ResolvedExecutor | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getName | string | |||||||
| getConfig | Config | |||||||
| fromNameAndConfig | ResolvedExecutor | |||||||
| class ResultCollection | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| setResult | void | |||||||
| hasResult | bool | |||||||
| getResult | ResultInterface | |||||||
| getMetric | ||||||||
| getMetricOrDefault | ||||||||
| getResults | array|? | |||||||
| interface ResultInterface | ||||||||
| Method | Argument | Typehint | Default | |||||
| fromArray | ResultInterface | |||||||
| getMetrics | ||||||||
| getKey | string | |||||||
| class Subject | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getName | string | |||||||
| createVariant | Variant | |||||||
| getVariants | array | |||||||
| getBenchmark | Benchmark | |||||||
| getGroups | array | |||||||
| inGroups | bool | |||||||
| setGroups | void | |||||||
| getSleep | int | |||||||
| setSleep | void | |||||||
| getOutputTimeUnit | string|? | |||||||
| setOutputTimeUnit | void | |||||||
| getOutputTimePrecision | ?int | |||||||
| setOutputTimePrecision | void | |||||||
| getOutputMode | string|? | |||||||
| setOutputMode | void | |||||||
| getRetryThreshold | float|? | |||||||
| setRetryThreshold | void | |||||||
| getIndex | int | |||||||
| getExecutor | ResolvedExecutor | |||||||
| setExecutor | void | |||||||
| remove | void | |||||||
| getVariant | ?Variant | |||||||
| class Suite | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getBenchmarks | array | |||||||
| getBenchmark | ?Benchmark | |||||||
| createBenchmark | Benchmark | |||||||
| getIterator | ArrayIterator | |||||||
| getTag | Tag|? | |||||||
| getDate | \DateTime | |||||||
| getConfigPath | ?string | |||||||
| getSummary | Summary | |||||||
| getIterations | array | |||||||
| getSubjects | array | |||||||
| getVariants | array | |||||||
| getErrorStacks | array | |||||||
| getFailures | array | |||||||
| getWarnings | array | |||||||
| setEnvInformations | void | |||||||
| addEnvInformation | void | |||||||
| getEnvInformations | array | |||||||
| getUuid | ?string | |||||||
| generateUuid | void | |||||||
| mergeBaselines | self | |||||||
| findVariant | ?Variant | |||||||
| class SuiteCollection | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getSuites | array | |||||||
| addSuite | void | |||||||
| mergeCollection | self | |||||||
| getIterator | ArrayIterator | |||||||
| findBaselineForVariant | ?Variant | |||||||
| class Summary | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getNbSubjects | int | |||||||
| getNbIterations | int | |||||||
| getNbRejects | int | |||||||
| getNbRevolutions | int | |||||||
| getNbFailures | int | |||||||
| getNbWarnings | int | |||||||
| getStats | array | |||||||
| getMinTime | ||||||||
| getMaxTime | ||||||||
| getMeanTime | ||||||||
| getModeTime | ||||||||
| getTotalTime | ||||||||
| getMeanStDev | ||||||||
| getMeanRelStDev | ||||||||
| getOpcacheEnabled | bool | |||||||
| getXdebugEnabled | bool | |||||||
| getPhpVersion | string|? | |||||||
| class Tag | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| __toString | string | |||||||
| class Variant | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| spawnIterations | void | |||||||
| createIteration | Iteration | |||||||
| getIteration | Iteration|? | |||||||
| addIteration | void | |||||||
| getIterator | ArrayIterator | |||||||
| getMetricValues | array | |||||||
| getMetricValuesByRev | array | |||||||
| resetAssertionResults | void | |||||||
| computeStats | void | |||||||
| getRejectCount | int | |||||||
| getRejects | array | |||||||
| getStats | Distribution | |||||||
| isComputed | bool | |||||||
| getParameterSet | ParameterSet | |||||||
| getSubject | Subject | |||||||
| hasErrorStack | bool | |||||||
| getErrorStack | ErrorStack | |||||||
| setException | void | |||||||
| createErrorStack | void | |||||||
| getRevolutions | int | |||||||
| getWarmup | int | |||||||
| getIterations | array | |||||||
| count | int | |||||||
| offsetGet | ?Iteration | |||||||
| offsetSet | void | |||||||
| offsetUnset | void | |||||||
| offsetExists | bool | |||||||
| attachBaseline | void | |||||||
| getBaseline | ?Variant | |||||||
| addAssertionResult | void | |||||||
| getAssertionResults | VariantAssertionResults | |||||||
| class AnsiLogger | ||||||||
| Method | Argument | Typehint | Default | |||||
| renderCollectionStatus | ||||||||
| class BlinkenLogger | ||||||||
| Method | Argument | Typehint | Default | |||||
| endSuite | void | |||||||
| benchmarkStart | void | |||||||
| variantStart | void | |||||||
| variantEnd | void | |||||||
| iterationEnd | void | |||||||
| iterationStart | void | |||||||
| formatIterationTime | string | |||||||
| drawIterations | void | |||||||
| getXPos | int | |||||||
| getYPos | float | |||||||
| resetLinePosition | void | |||||||
| class DotsLogger | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| benchmarkStart | void | |||||||
| variantEnd | void | |||||||
| iterationStart | void | |||||||
| endSuite | void | |||||||
| class HistogramLogger | ||||||||
| Method | Argument | Typehint | Default | |||||
| endSuite | void | |||||||
| benchmarkStart | void | |||||||
| variantStart | void | |||||||
| variantEnd | void | |||||||
| iterationStart | void | |||||||
| drawBlocks | void | |||||||
| drawIterations | void | |||||||
| class NullLogger | ||||||||
| Method | Argument | Typehint | Default | |||||
| setOutput | void | |||||||
| benchmarkStart | void | |||||||
| benchmarkEnd | void | |||||||
| subjectStart | void | |||||||
| subjectEnd | void | |||||||
| iterationStart | void | |||||||
| iterationEnd | void | |||||||
| variantStart | void | |||||||
| variantEnd | void | |||||||
| retryStart | void | |||||||
| startSuite | void | |||||||
| endSuite | void | |||||||
| class PhpBenchLogger | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| setOutput | void | |||||||
| startSuite | void | |||||||
| endSuite | void | |||||||
| listErrors | void | |||||||
| listFailures | void | |||||||
| listWarnings | void | |||||||
| formatIterationsFullSummary | string | |||||||
| formatIterationsShortSummary | string | |||||||
| formatIterationTime | string | |||||||
| formatVariantName | string | |||||||
| class TravisLogger | ||||||||
| Method | Argument | Typehint | Default | |||||
| benchmarkStart | void | |||||||
| variantEnd | void | |||||||
| endSuite | void | |||||||
| class VerboseLogger | ||||||||
| Method | Argument | Typehint | Default | |||||
| benchmarkStart | void | |||||||
| benchmarkEnd | void | |||||||
| iterationStart | void | |||||||
| variantStart | void | |||||||
| variantEnd | void | |||||||
| retryStart | void | |||||||
| interface LoggerInterface | ||||||||
| Method | Argument | Typehint | Default | |||||
| benchmarkEnd | ||||||||
| benchmarkStart | ||||||||
| subjectEnd | ||||||||
| subjectStart | ||||||||
| variantEnd | ||||||||
| variantStart | ||||||||
| iterationEnd | ||||||||
| iterationStart | ||||||||
| retryStart | ||||||||
| startSuite | ||||||||
| endSuite | ||||||||
| class LoggerRegistry | ||||||||
| Method | Argument | Typehint | Default | |||||
| addProgressLogger | void | |||||||
| getProgressLogger | ||||||||
| class Config | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| offsetGet | ||||||||
| getName | ||||||||
| class ConfigurableRegistry | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getConfig | Config | |||||||
| setConfig | void | |||||||
| resolveConfig | void | |||||||
| processRawCliConfig | string | |||||||
| interface RegistrableInterface | ||||||||
| Method | Argument | Typehint | Default | |||||
| configure | void | |||||||
| class Registry | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| registerService | void | |||||||
| setService | void | |||||||
| getService | ||||||||
| assertServiceExists | void | |||||||
| class Cell | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| fromValue | self | |||||||
| getValue | ||||||||
| setValue | void | |||||||
| __toString | string | |||||||
| getSecondaryValues | array | |||||||
| addSecondaryValue | void | |||||||
| class Row | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| toArray | array | |||||||
| mergeMap | self | |||||||
| getFormatParams | array | |||||||
| setFormatParams | void | |||||||
| newInstance | self | |||||||
| getNames | array | |||||||
| hasColumn | bool | |||||||
| getValue | ||||||||
| getCell | Cell | |||||||
| removeColumn | void | |||||||
| setValue | void | |||||||
| fromMap | self | |||||||
| assertColumnExists | void | |||||||
| __clone | ||||||||
| addCell | void | |||||||
| class SecondaryValue | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| create | self | |||||||
| __toString | string | |||||||
| getValue | ||||||||
| setValue | void | |||||||
| getRole | string | |||||||
| class Sort | ||||||||
| Method | Argument | Typehint | Default | |||||
| mergeSort | void | |||||||
| class CompositeGenerator | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| setOutput | void | |||||||
| configure | void | |||||||
| generate | Document | |||||||
| class EnvGenerator | ||||||||
| Method | Argument | Typehint | Default | |||||
| setOutput | void | |||||||
| configure | void | |||||||
| generate | Document | |||||||
| class TableGenerator | ||||||||
| Method | Argument | Typehint | Default | |||||
| configure | void | |||||||
| generate | Document | |||||||
| processDiffs | array | |||||||
| processSort | array | |||||||
| processBreak | array | |||||||
| processCols | array | |||||||
| processCompare | array | |||||||
| buildTable | array | |||||||
| generateDocument | Document | |||||||
| getClassShortName | string | |||||||
| resolveCompareColumnName | string | |||||||
| buildRow | Row | |||||||
| class ConsoleRenderer | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| setOutput | void | |||||||
| render | void | |||||||
| renderTableElement | void | |||||||
| renderTable | void | |||||||
| configureFormatters | void | |||||||
| configure | void | |||||||
| class DebugRenderer | ||||||||
| Method | Argument | Typehint | Default | |||||
| setOutput | void | |||||||
| render | void | |||||||
| configure | void | |||||||
| class DelimitedRenderer | ||||||||
| Method | Argument | Typehint | Default | |||||
| setOutput | void | |||||||
| render | void | |||||||
| renderTableElement | void | |||||||
| configure | void | |||||||
| class XsltRenderer | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| setOutput | void | |||||||
| render | void | |||||||
| configure | void | |||||||
| interface GeneratorInterface | ||||||||
| Method | Argument | Typehint | Default | |||||
| generate | Document | |||||||
| interface RendererInterface | ||||||||
| Method | Argument | Typehint | Default | |||||
| render | ||||||||
| class ReportManager | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| validateReportNames | void | |||||||
| generateReports | array | |||||||
| renderReports | void | |||||||
| class XmlDecoder | ||||||||
| Method | Argument | Typehint | Default | |||||
| decode | SuiteCollection | |||||||
| decodeFiles | SuiteCollection | |||||||
| processSuite | Suite | |||||||
| processBenchmark | void | |||||||
| processSubject | void | |||||||
| getComputedStats | array | |||||||
| getParameters | array | |||||||
| processVariant | void | |||||||
| class XmlEncoder | ||||||||
| Method | Argument | Typehint | Default | |||||
| encode | Document | |||||||
| processBenchmark | void | |||||||
| processSubject | void | |||||||
| processVariant | void | |||||||
| createParameter | ||||||||
| appendExecutor | void | |||||||
| buildStatsEl | void | |||||||
| class FakeHistoryIterator | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| current | ||||||||
| next | ||||||||
| key | ||||||||
| valid | ||||||||
| rewind | ||||||||
| class HistoryIterator | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| current | ||||||||
| next | void | |||||||
| key | string | |||||||
| rewind | void | |||||||
| valid | ||||||||
| init | void | |||||||
| getEntryIterator | \ArrayIterator | |||||||
| getHistoryEntry | HistoryEntry | |||||||
| getDirectoryIterator | \ArrayIterator | |||||||
| class XmlDriver | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| store | string|? | |||||||
| fetch | SuiteCollection | |||||||
| has | bool | |||||||
| history | \PhpBench\Storage\HistoryIteratorInterface | |||||||
| getPath | ||||||||
| class ChainResolver | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| supports | bool | |||||||
| resolve | string | |||||||
| class LatestResolver | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| supports | bool | |||||||
| resolve | string | |||||||
| getLatestUuid | ||||||||
| getNthUuid | ||||||||
| class TagResolver | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| supports | bool | |||||||
| resolve | string | |||||||
| tagAndOffset | array | |||||||
| interface ArchiverInterface | ||||||||
| Method | Argument | Typehint | Default | |||||
| archive | ||||||||
| restore | ||||||||
| interface DriverInterface | ||||||||
| Method | Argument | Typehint | Default | |||||
| store | ?string | |||||||
| fetch | SuiteCollection | |||||||
| has | ||||||||
| history | HistoryIteratorInterface | |||||||
| class HistoryEntry | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| getRunId | ||||||||
| getDate | \DateTime | |||||||
| getTag | ||||||||
| getNbSubjects | ||||||||
| getNbIterations | ||||||||
| getNbRevolutions | ||||||||
| getVcsBranch | ||||||||
| getMinTime | ||||||||
| getMaxTime | ||||||||
| getMeanTime | ||||||||
| getMeanRelStDev | ||||||||
| getTotalTime | ||||||||
| class StorageRegistry | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| interface UuidResolverInterface | ||||||||
| Method | Argument | Typehint | Default | |||||
| supports | bool | |||||||
| resolve | string | |||||||
| class MemoryUnit | ||||||||
| Method | Argument | Typehint | Default | |||||
| isMemoryUnit | bool | |||||||
| convertTo | float | |||||||
| resolveUnit | string | |||||||
| class TimeUnit | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| toDestUnit | ||||||||
| overrideDestUnit | void | |||||||
| overrideMode | void | |||||||
| overridePrecision | void | |||||||
| getPrecision | int | |||||||
| getDestUnit | string | |||||||
| resolveDestUnit | ||||||||
| resolveMode | ||||||||
| resolvePrecision | int|? | |||||||
| getMode | string | |||||||
| getDestSuffix | string | |||||||
| format | string | |||||||
| convert | ||||||||
| convertInto | ||||||||
| convertTo | float | |||||||
| getSuffix | ||||||||
| isTimeUnit | bool | |||||||
| validateMode | void | |||||||
| resolveUnit | string | |||||||
| class PhpBench | ||||||||
| Method | Argument | Typehint | Default | |||||
| run | void | |||||||
| normalizePath | string | |||||||
| loadConfig | array | |||||||
| getBootstrapPath | ?string | |||||||
| parseOption | string|? | |||||||
| mergeProfile | array | |||||||
| registerErrorHandler | void | |||||||