API Reference › Globals › Benchmark
# Class: Benchmark
# Hierarchy
- Benchmark
# Index
# Methods
# Methods
# Static
addMeta
▸ addMeta(name
: string | MARKS, data
: object): void
Defined in packages/common-core/src/utils/benchmark.ts:45
Parameters:
Name | Type |
---|---|
name | string | MARKS |
data | object |
Returns: void
# Static
end
▸ end(_name
: string | MARKS): void
Defined in packages/common-core/src/utils/benchmark.ts:58
Parameters:
Name | Type |
---|---|
_name | string | MARKS |
Returns: void
# Static
getMeasure
▸ getMeasure(_name
: string | MARKS): PerformanceMeasure[]
Defined in packages/common-core/src/utils/benchmark.ts:74
Parameters:
Name | Type |
---|---|
_name | string | MARKS |
Returns: PerformanceMeasure[]
# Static
getMeta
▸ getMeta(name
: string | MARKS): object
Defined in packages/common-core/src/utils/benchmark.ts:50
Parameters:
Name | Type |
---|---|
name | string | MARKS |
Returns: object
# Static
showBenchmarks
▸ showBenchmarks(filter?
: string): void
Defined in packages/common-core/src/utils/benchmark.ts:88
Parameters:
Name | Type |
---|---|
filter? | string |
Returns: void
# Static
start
▸ start(name
: string | MARKS): string
Defined in packages/common-core/src/utils/benchmark.ts:26
Parameters:
Name | Type |
---|---|
name | string | MARKS |
Returns: string