Skip to content
v3.4.0

EmptyStatistics

Do not store stats in the memory. Stats are not needed on daily basis

▸ end(_name: StatType): void

Defined in src/statistics/EmptyStatistics.ts:27

inheritdoc

Parameters:

NameType
_nameStatType

Returns: void


▸ incrementCriterionFunctionFullCacheUsed(): void

Defined in src/statistics/EmptyStatistics.ts:12

inheritdoc

Returns: void


incrementCriterionFunctionPartialCacheUsed

Section titled “incrementCriterionFunctionPartialCacheUsed”

▸ incrementCriterionFunctionPartialCacheUsed(): void

Defined in src/statistics/EmptyStatistics.ts:17

inheritdoc

Returns: void


▸ measure‹T›(name: StatType, func: function): T

Defined in src/statistics/Statistics.ts:80

Measure given statistic as execution of given function.

Type parameters:

▪ T

Parameters:

▪ name: StatType

statistic to track

▪ func: function

function to call

▸ (): T

Returns: T

result of the function call


▸ reset(): void

Defined in src/statistics/Statistics.ts:33

Resets statistics

Returns: void


▸ snapshot(): Map‹StatType, number›

Defined in src/statistics/Statistics.ts:90

Returns the snapshot of current results

Returns: Map‹StatType, number›


▸ start(_name: StatType): void

Defined in src/statistics/EmptyStatistics.ts:22

inheritdoc

Parameters:

NameType
_nameStatType

Returns: void