Skip to content

Commit

Permalink
Add more warmup runs
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Oct 12, 2024
1 parent 91f6188 commit 76a3098
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion benches/src/02_replace1k.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
const elementSelector = 'tr:first-child > td:first-child';

// MUST BE KEPT IN SYNC WITH WARMUP COUNT IN benches/scripts/config.js
const WARMUP_COUNT = 5;
const WARMUP_COUNT = 25;
for (let i = 0; i < WARMUP_COUNT; i++) {
markRunStart(`warmup-${i}`);
run();
Expand Down
1 change: 1 addition & 0 deletions src/diff/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ export function diff(
options._catchError(e, newVNode, oldVNode);
}
} else if (
// test
excessDomChildren == null &&
newVNode._original === oldVNode._original
) {
Expand Down

0 comments on commit 76a3098

Please sign in to comment.