10 lines
397 B
Markdown
10 lines
397 B
Markdown
# @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 });
|
|
```
|