Skip to content

Commit 136e267

Browse files
--wip-- [skip ci]
1 parent 451c68f commit 136e267

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"creator": {
3+
"name": "@codspeed/tinybench-plugin",
4+
"version": "4.0.1",
5+
"pid": 1122157
6+
},
7+
"instrument": {
8+
"type": "walltime",
9+
"clock_info": {
10+
"implementation": "perf_counter",
11+
"monotonic": true,
12+
"adjustable": false,
13+
"resolution": 1e-9
14+
}
15+
},
16+
"benchmarks": [
17+
{
18+
"name": "RegExp",
19+
"uri": "packages/tinybench-plugin/tests/index.integ.test.ts::RegExp",
20+
"config": {
21+
"warmup_time_ns": 1000000000,
22+
"min_round_time_ns": 1000000,
23+
"max_time_ns": 3000000000,
24+
"max_rounds": null
25+
},
26+
"stats": {
27+
"min_ns": 114.99226093292236,
28+
"max_ns": 351940.98949432373,
29+
"mean_ns": 160.73891516279846,
30+
"stdev_ns": 755.441384793204,
31+
"q1_ns": 137.99965381622314,
32+
"median_ns": 143.00644397735596,
33+
"q3_ns": 148.01323413848877,
34+
"total_time": 0.10000001907348632,
35+
"iter_per_round": 622127,
36+
"rounds": 1,
37+
"iqr_outlier_rounds": 62592,
38+
"stdev_outlier_rounds": 609,
39+
"warmup_iters": 0
40+
}
41+
}
42+
]
43+
}

packages/tinybench-plugin/tests/index.integ.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { registerBenchmarks } from "./registerBenchmarks";
55
import { registerOtherBenchmarks } from "./registerOtherBenchmarks";
66

77
const mockCore = vi.hoisted(() => {
8+
process.env.CODSPEED_RUNNER_MODE = "instrumentation";
89
return {
910
mongoMeasurement: {
1011
start: vi.fn(),

0 commit comments

Comments
 (0)