UNPKG
@dapplion/benchmark
Version:
latest (1.0.0)
1.0.0
0.2.6-rc.2
0.2.6-rc.1
0.2.6-rc.0
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.6
0.1.5
0.1.4
0.1.2
0.1.1
0.1.0
Ensures that new code does not introduce performance regressions with CI. Tracks:
@dapplion/benchmark
/
lib
/
cjs
/
mochaPlugin
/
format.d.ts
8 lines
•
282 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
export
type
BenchmarkResult
= {
id
:
string
;
averageNs
:
number
;
runsDone
:
number
;
totalMs
:
number
; };
export
declare
function
formatResultRow
(
result
:
BenchmarkResult
,
prevResult
:
BenchmarkResult
|
null
,
threshold
:
number
):
string
;
//# sourceMappingURL=format.d.ts.map