Skip to main content
Version: Current

CacheDifferentialTckOptions

@rotorsoft/act-root


@rotorsoft/act-root / act-tck/src / CacheDifferentialTckOptions

Type Alias: CacheDifferentialTckOptions

CacheDifferentialTckOptions = object

Defined in: libs/act-tck/src/cache-differential-tck.ts:26

Options for runCacheDifferentialTck.

Propertiesโ€‹

cachesโ€‹

readonly caches: ReadonlyArray<DifferentialCache>

Defined in: libs/act-tck/src/cache-differential-tck.ts:34

Two or more caches to drive in lockstep and compare. The first entry is the reference; every other cache's observable get() snapshot must match it exactly after every operation.


nameโ€‹

readonly name: string

Defined in: libs/act-tck/src/cache-differential-tck.ts:28

Display name for the differential suite.


runs?โ€‹

readonly optional runs?: number

Defined in: libs/act-tck/src/cache-differential-tck.ts:50

How many independent randomized workloads to generate and compare, each from a distinct seed. Default 8.


seed?โ€‹

readonly optional seed?: number

Defined in: libs/act-tck/src/cache-differential-tck.ts:40

Base PRNG seed. Workload r of CacheDifferentialTckOptions.runs is built from seed + r, so the campaign is reproducible. Default 0xcac.


streams?โ€‹

readonly optional streams?: number

Defined in: libs/act-tck/src/cache-differential-tck.ts:45

Number of distinct streams (cache keys) per workload. Kept small so a bounded cache never evicts during the comparison. Default 6.