BenchmarkOptions
This content is not available in your language yet.
Defined in: core/index.ts:2285
벤치마크 옵션. source 또는 file 중 하나는 반드시 지정.
Properties
섹션 제목: “Properties”file?
섹션 제목: “file?”
optionalfile?:string
Defined in: core/index.ts:2289
파일 경로 (source 와 둘 중 하나)
filename?
섹션 제목: “filename?”
optionalfilename?:string
Defined in: core/index.ts:2291
filename (source 와 함께 사용, 확장자 감지)
iterations?
섹션 제목: “iterations?”
optionaliterations?:number
Defined in: core/index.ts:2299
반복 횟수 (default 100)
phases
섹션 제목: “phases”phases:
string[]
Defined in: core/index.ts:2297
측정할 profile category 목록 (required, non-empty).
예: ["parse"], ["scan", "parse", "transform"], ["transform.jsx"].
all / none 은 허용되지 않음 — 구체적 phase 이름만.
source?
섹션 제목: “source?”
optionalsource?:string
Defined in: core/index.ts:2287
Source 코드 문자열 (file 과 둘 중 하나)
warmup?
섹션 제목: “warmup?”
optionalwarmup?:number
Defined in: core/index.ts:2301
Warmup 반복 (default 10)