release: WRNexusJS 0.7.0
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# @wrnexus/benchmark
|
||||
|
||||
Deterministic benchmark execution, percentiles, baseline comparisons, and regression budgets for builds, SSR, hydration, stores, and application hot paths.
|
||||
|
||||
```ts
|
||||
import { runBenchmark, assertBenchmarkBudget } from "@wrnexus/benchmark";
|
||||
const result = await runBenchmark("render", render, { iterations: 100 });
|
||||
assertBenchmarkBudget(result, baseline, { p95Percent: 5 });
|
||||
```
|
||||
Reference in New Issue
Block a user