Skip to content

Commit d2ed65b

Browse files
committed
updates
1 parent d1c46f2 commit d2ed65b

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

JetStreamDriver.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ class Driver {
374374
var magicFrame = magic.contentDocument.getElementById("magicframe");
375375
magicFrame.contentDocument.open();
376376
magicFrame.contentDocument.write("<!DOCTYPE html><head><title>benchmark payload</title></head><body>\n" + string + "</body></html>");
377+
377378
return magicFrame;
378379
}
379380

RexBench/FlightPlanner/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Benchmark {
3737
}
3838
}
3939

40-
validate()
40+
validate(iterations)
4141
{
4242
for (let flightPlan of expectedFlightPlans) {
4343
flightPlan.calculate();

RexBench/OfflineAssembler/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Benchmark {
3636
this.ast = parse("LowLevelInterpreter.asm");
3737
}
3838

39-
validate()
39+
validate(iterations)
4040
{
4141
let astDumpedAsLines = this.ast.dump().split("\n");
4242

bigint/bigdenary-benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Benchmark {
5353
areFirstAndLastResultsEqual(() => bd1.dividedBy(bd2));
5454
}
5555

56-
validate() {
56+
validate(iterations) {
5757
if (!this._allFirstAndLastResultsAreEqual)
5858
throw new Error("Expected all first and last results to be equal, but they aren't.");
5959
}

bigint/paillier-benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class Benchmark {
5252
this._decryptedMulIsCorrect &&= decryptedMul === 123456789012345678900n;
5353
}
5454

55-
validate() {
55+
validate(iterations) {
5656
if (!this._c1DecryptedIsCorrect)
5757
throw new Error("Bad value: c1Decrypted!");
5858

generators/js-tokens.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ class Benchmark {
451451
}
452452
}
453453

454-
validate() {
454+
validate(iterations) {
455455
if (this.tokenCount !== 113975)
456456
throw new Error(`this.tokenCount of ${this.tokenCount} is invalid!`);
457457
}

generators/lazy-collections.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ class Benchmark {
613613
this.totalLength += binaryTree().length;
614614
}
615615

616-
validate() {
616+
validate(iterations) {
617617
if (this.totalLength !== 635)
618618
throw new Error(`this.totalLength of ${this.totalLength} is invalid!`);
619619
}

0 commit comments

Comments
 (0)