File tree Expand file tree Collapse file tree
packages/component/bench/tachometer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ const startMark = (name) => `${name}-start`;
9696// data-sui-bind markers. The `each` block's hydrate hook stays O(1) on
9797// main — it just registers a dep on the items signal. Per-item DOM is
9898// already correct from SSR; no mutation triggered.
99- const itemsForMount = makeItems ( 100 ) ;
99+ const itemsForMount = makeItems ( 1000 ) ;
100100const dsdHTMLForMount = ssrList ( itemsForMount ) ;
101101performance . mark ( startMark ( 'hydrate-each-100-mount' ) ) ;
102102container . setHTMLUnsafe ( dsdHTMLForMount ) ;
@@ -180,7 +180,7 @@ function ssrHelperList(items) {
180180// cost difference between strategies that keep hydrate O(1) and
181181// strategies that wire per-item Reactions on hydrate to register
182182// external-signal deps eagerly.
183- const helperItems = makeItems ( 100 ) ;
183+ const helperItems = makeItems ( 1000 ) ;
184184const dsdHTMLForHelper = ssrHelperList ( helperItems ) ;
185185performance . mark ( startMark ( 'hydrate-helper-100-mount' ) ) ;
186186container . setHTMLUnsafe ( dsdHTMLForHelper ) ;
You can’t perform that action at this time.
0 commit comments