Skip to content

Commit 063e85a

Browse files
committed
fix
1 parent 5e0e9d3 commit 063e85a

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

JetStreamDriver.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,6 +1608,7 @@ class AsyncBenchmark extends DefaultBenchmark {
16081608
16091609
performance.measure(iterationMarkLabel, iterationMarkLabel);
16101610
1611+
benchmark.postIteration?.(i);
16111612
${this.postIterationCode}
16121613
16131614
results.push(Math.max(1, end - start));

babylonjs/benchmark/scene.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class Benchmark {
7979
throw new Error(`Expected ${name} to be ${expected}, but got ${value}`);
8080
}
8181

82-
validate() {
82+
postIteration() {
8383
// FIXME: move to measured phase.
8484
this.sceneDisposer();
8585
}

babylonjs/benchmark/startup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class Benchmark extends StartupBenchmark {
8383
throw new Error(`Expected ${name} to be ${expected}, but got ${value}`);
8484
}
8585

86-
validate() {
86+
postIteration() {
8787
// FIXME: move to measured phase.
8888
this.sceneDisposer();
8989
}

0 commit comments

Comments
 (0)