@thi.ng/bench 3.1.5 → 3.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/benchmark.d.ts +1 -1
- package/package.json +8 -8
- package/suite.d.ts +1 -1
package/CHANGELOG.md
CHANGED
package/benchmark.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BenchmarkOpts, BenchmarkResult } from "./api.js";
|
|
2
2
|
export declare const DEFAULT_OPTS: BenchmarkOpts;
|
|
3
|
-
export declare const benchmark: (fn: () => void, opts?: Partial<BenchmarkOpts>
|
|
3
|
+
export declare const benchmark: (fn: () => void, opts?: Partial<BenchmarkOpts>) => BenchmarkResult;
|
|
4
4
|
/**
|
|
5
5
|
* Only outputs non-empty strings to console.
|
|
6
6
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/bench",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.8",
|
|
4
4
|
"description": "Benchmarking utilities w/ various statistics & formatters (CSV, Markdown etc.)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.3.
|
|
37
|
+
"@thi.ng/api": "^8.3.8"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@microsoft/api-extractor": "^7.
|
|
41
|
-
"@thi.ng/testament": "^0.2.
|
|
42
|
-
"@types/node": "^17.0.
|
|
40
|
+
"@microsoft/api-extractor": "^7.25.0",
|
|
41
|
+
"@thi.ng/testament": "^0.2.9",
|
|
42
|
+
"@types/node": "^17.0.41",
|
|
43
43
|
"rimraf": "^3.0.2",
|
|
44
44
|
"tools": "^0.0.1",
|
|
45
|
-
"typedoc": "^0.22.
|
|
46
|
-
"typescript": "^4.
|
|
45
|
+
"typedoc": "^0.22.17",
|
|
46
|
+
"typescript": "^4.7.4"
|
|
47
47
|
},
|
|
48
48
|
"keywords": [
|
|
49
49
|
"benchmark",
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
],
|
|
115
115
|
"year": 2018
|
|
116
116
|
},
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "108a6357b77d457912d30681d7cc5603ae995209\n"
|
|
118
118
|
}
|
package/suite.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { Benchmark, BenchmarkResult, BenchmarkSuiteOpts } from "./api.js";
|
|
2
|
-
export declare const suite: (cases: Benchmark[], opts?: Partial<BenchmarkSuiteOpts>
|
|
2
|
+
export declare const suite: (cases: Benchmark[], opts?: Partial<BenchmarkSuiteOpts>) => BenchmarkResult[];
|
|
3
3
|
//# sourceMappingURL=suite.d.ts.map
|