Skip to content

Commit bb77d06

Browse files
authored
Enable mobx-startup (#233)
Somehow they were disabled by default. - Regenerated mobx to create LICENSE.txt - added mobx-startup-es6 and enabled by deafult
1 parent 05de9bb commit bb77d06

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

JetStreamDriver.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2256,6 +2256,21 @@ let BENCHMARKS = [
22562256
],
22572257
tags: ["default", "js", "Proxy"],
22582258
}),
2259+
new AsyncBenchmark({
2260+
name: "mobx-startup",
2261+
files: [
2262+
"./utils/StartupBenchmark.js",
2263+
"./mobx/benchmark.js",
2264+
],
2265+
preload: {
2266+
// Debug Sources for nicer profiling.
2267+
// BUNDLE: "./mobx/dist/bundle.es6.js",
2268+
BUNDLE: "./mobx/dist/bundle.es6.min.js",
2269+
},
2270+
tags: ["default", "js", "mobx", "startup", "es6"],
2271+
iterations: 30,
2272+
worstCaseCount: 3,
2273+
}),
22592274
new AsyncBenchmark({
22602275
name: "jsdom-d3-startup",
22612276
files: [

mobx/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const EXPECTED_LOG_LENGTH = 6824;
2828
class Benchmark extends StartupBenchmark {
2929
lastResult;
3030

31-
constructor(iterationCount) {
31+
constructor({iterationCount}) {
3232
super({
3333
iterationCount,
3434
expectedCacheCommentCount: 464,

0 commit comments

Comments
 (0)