@bunchmark/core
Advanced tools
Comparing version 1.0.0-pre-4 to 1.0.0-pre-5
{ | ||
"name": "@bunchmark/core", | ||
"version": "1.0.0-pre-4", | ||
"version": "1.0.0-pre-5", | ||
"description": "benchmarking lib", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -8,3 +8,2 @@ export type Sampler = ((N: number)=>Promise<number>) | ||
afterEach: Code, | ||
header: string, | ||
footer: (id: string)=> string | ||
@@ -15,7 +14,8 @@ } | ||
export type Task = { | ||
name?: string | ||
before?: Code | ||
after?: Code | ||
run: Code | ||
export type Entry = { | ||
name?: string, | ||
workspace: number[], | ||
chronological: number[], | ||
calibration: number[], | ||
N: number | ||
} | ||
@@ -32,10 +32,2 @@ | ||
export type Entry = { | ||
name?: string, | ||
workspace: number[], | ||
chronological: number[], | ||
calibration: number[], | ||
N: number | ||
} | ||
export type Options = { | ||
@@ -55,2 +47,10 @@ preamble?: Code, | ||
export type Result = { | ||
i: number, | ||
reps: number, | ||
entries: Entry[] | ||
} | ||
export type ReturnTick = {i: number, reps: number} | ||
export type RunnerOptions = { | ||
@@ -70,16 +70,18 @@ tasks: InnerTask[], | ||
export type Result = { | ||
i: number, | ||
reps: number, | ||
entries: Entry[] | ||
export type RunResult = { | ||
result: Promise<Result>, | ||
pause: (mode?: boolean) => void | ||
stop: () => void | ||
} | ||
export type Task = { | ||
name?: string | ||
before?: Code | ||
after?: Code | ||
run: Code | ||
} | ||
export type YieldTask = {kind: "task", task: Promise<void>} | ||
export type YieldTick = {kind: "tick", i: number, reps: number} | ||
export type ReturnTick = {i: number, reps: number} | ||
export type RunResult = { | ||
result: Promise<Result>, | ||
pause: (mode?: boolean) => void | ||
stop: () => void | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16451
497