diff --git a/benches/src/02_replace1k.html b/benches/src/02_replace1k.html index e6b6270b6e..ee597fa0fb 100644 --- a/benches/src/02_replace1k.html +++ b/benches/src/02_replace1k.html @@ -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(); diff --git a/src/diff/index.js b/src/diff/index.js index 1777a67be3..5e8c77a8a3 100644 --- a/src/diff/index.js +++ b/src/diff/index.js @@ -289,6 +289,7 @@ export function diff( options._catchError(e, newVNode, oldVNode); } } else if ( + // test excessDomChildren == null && newVNode._original === oldVNode._original ) {