BenchmarkOptions
Defined in: core/index.ts:3164
Benchmark options. One of source or file must be specified.
Properties
섹션 제목: “Properties”file?
섹션 제목: “file?”
optionalfile?:string
Defined in: core/index.ts:3168
File path (one of this or source).
filename?
섹션 제목: “filename?”
optionalfilename?:string
Defined in: core/index.ts:3170
filename (used together with source, for extension detection).
iterations?
섹션 제목: “iterations?”
optionaliterations?:number
Defined in: core/index.ts:3178
Number of iterations (default 100).
phases
섹션 제목: “phases”phases:
string[]
Defined in: core/index.ts:3176
List of profile categories to measure (required, non-empty).
e.g. ["parse"], ["scan", "parse", "transform"], ["transform.jsx"].
all / none are not allowed — concrete phase names only.
source?
섹션 제목: “source?”
optionalsource?:string
Defined in: core/index.ts:3166
Source code string (one of this or file).
warmup?
섹션 제목: “warmup?”
optionalwarmup?:number
Defined in: core/index.ts:3180
Warmup iterations (default 10).