CacheDifferentialTckOptions
@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โ
readonlycaches: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โ
readonlyname:string
Defined in: libs/act-tck/src/cache-differential-tck.ts:28
Display name for the differential suite.
runs?โ
readonlyoptionalruns?: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?โ
readonlyoptionalseed?: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?โ
readonlyoptionalstreams?: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.