sveltelean
Version v0.18.0

Sizes per entry point

Production output of each package from its own yarn size. Rows without a budget are recorded for comparison; the esbuild figures are not the quoted number (Methodology).

@svelte-lean/primitives

SubjectEntry or toolrawgzipbrotliBudgetStatusNotes
core-onlyvite2157 B1082 B949 Bnone––
core-onlyesbuild3147 B1561 B1381 Bnone––
tabsvite4509 B2048 B1839 B1900 B brotliwithin budgetno diagnostics · registration kept
tabsesbuild5904 B2684 B2422 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
menuvite7156 B3101 B2771 B2800 B brotliwithin budgetno diagnostics · registration kept
menuesbuild13586 B5562 B5052 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
listboxvite5866 B2612 B2357 B2600 B brotliwithin budgetno diagnostics · registration kept
listboxesbuild7224 B3226 B2915 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
selectvite14587 B5559 B5020 B5300 B brotliwithin budgetno diagnostics · registration kept
selectesbuild21292 B8137 B7414 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
autocompletevite11498 B4424 B3960 B4000 B brotliwithin budgetno diagnostics · registration kept
autocompleteesbuild18047 B6938 B6283 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
calendarvite12534 B5021 B4594 B5000 B brotliwithin budgetno diagnostics · registration kept
calendaresbuild13872 B5646 B5164 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
date-pickervite27281 B10387 B9476 B10200 B brotliwithin budgetno diagnostics · registration kept
date-pickeresbuild33891 B12924 B11830 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
toastvite3977 B1804 B1616 B1800 B brotliwithin budgetno diagnostics · registration kept
toastesbuild5408 B2445 B2202 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
treevite5391 B2382 B2140 B2400 B brotliwithin budgetno diagnostics · registration kept
treeesbuild6636 B2943 B2651 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
slidervite3498 B1738 B1549 B1700 B brotliwithin budgetno diagnostics · registration kept
slideresbuild4710 B2334 B2101 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
inputvite4545 B2041 B1808 B2000 B brotliwithin budgetno diagnostics · registration kept
inputesbuild5884 B2674 B2391 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
checkbox-groupvite3488 B1640 B1456 B1600 B brotliwithin budgetno diagnostics · registration kept
checkbox-groupesbuild4736 B2227 B1991 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
field/validationvite4453 B1939 B1714 B1900 B brotliwithin budgetno diagnostics · registration kept
field/validationesbuild5570 B2450 B2185 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
toggle-groupvite4874 B2165 B1932 B2200 B brotliwithin budgetno diagnostics · registration kept
toggle-groupesbuild6359 B2805 B2514 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
toolbarvite4026 B1917 B1706 B1800 B brotliwithin budgetno diagnostics · registration kept
toolbaresbuild5256 B2483 B2214 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
splittervite4922 B2132 B1908 B2000 B brotliwithin budgetno diagnostics · registration kept
splitteresbuild6231 B2748 B2470 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
sortablevite9758 B4285 B3833 B4300 B brotliwithin budgetno diagnostics · registration kept
sortableesbuild11217 B4932 B4448 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
menu/contextmenuvite3845 B1835 B1631 B1800 B brotliwithin budgetno diagnostics · registration kept
menu/contextmenuesbuild4977 B2379 B2133 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
file-dropvite7507 B3307 B2983 B3300 B brotliwithin budgetno diagnostics · registration kept
file-dropesbuild8934 B3918 B3552 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
hover-cardvite5078 B2244 B1985 B2000 B brotliwithin budgetno diagnostics · registration kept
hover-cardesbuild11430 B4709 B4255 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
menubarvite5058 B2324 B2063 B2100 B brotliwithin budgetno diagnostics · registration kept
menubaresbuild11125 B4693 B4250 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
hintvite7090 B2993 B2687 B2900 B brotliwithin budgetno diagnostics · registration kept
hintesbuild8444 B3605 B3246 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
copyvite2930 B1465 B1291 B1300 B brotliwithin budgetno diagnostics · registration kept
copyesbuild4158 B2041 B1809 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
findablevite4628 B2114 B1887 B1900 B brotliwithin budgetno diagnostics · registration kept
findableesbuild6011 B2727 B2460 Bnone–diagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, WeakSet
select+searchvite16141 B6038 B5458 B5500 B brotliwithin budgetno diagnostics · registration kept
select+search+createvite16675 B6171 B5575 B5600 B brotliwithin budgetno diagnostics · registration kept
anchor-positionvite4572 B2015 B1825 B1850 B brotliwithin budget–
popover/anchorvite3239 B1595 B1400 B1450 B brotliwithin budget–
native-onlyvite12736 B3577 B2994 Bnone–no runtime

Command: yarn workspace @svelte-lean/primitives size. Sizes are deterministic for the toolchain in docs/compatibility.md.

Method

ESM, target es2022, gzip level 9, brotli quality 11 (node:zlib). Tier 1 and Tier 2 entries are dist/<name>/register.js with @svelte-lean/core from the workspace. "vite" builds the public specifier with Vite in production mode; the brotli budget applies to it and it must list no diagnostics and keep the registration. "esbuild" bundles the same file with esbuild under the production condition; it keeps development helpers core references from folded DEV gates and is recorded for comparison. "core-only" is a registration with an empty handler. "native-only" imports the root entry and a Tier 0 subpath and must contain no runtime.

@svelte-lean/core

SubjectEntry or toolrawgzipbrotliBudgetStatusNotes
productionesbuild5643 B2637 B2375 B2750 B gzipwithin budgetdiagnostics: __SLEAN_DEBUG__, Svelte Lean Runtime, validate, WeakSet, is not a routed event type
defaultesbuild5856 B2726 B2453 B2750 B gzipwithin budgetdiagnostics: console.warn, __SLEAN_DEBUG__, Svelte Lean Runtime, validate, WeakSet, is not a routed event type
consumervite2503 B1239 B1089 B2750 B gzipwithin budgetno diagnostics
reorderesbuild3675 B1752 B1575 B1950 B gzipwithin budgetno diagnostics

Command: yarn workspace @svelte-lean/core size. Sizes are deterministic for the toolchain in docs/compatibility.md.

Method

ESM, target es2022, gzip level 9, brotli quality 11 (node:zlib). "production" and "default" are dist/index.js with every export, esbuild bundle + minify, under the production export condition and the runtime-detected env module respectively. "consumer" is one Tier 1 behavior using parts and emit, built with Vite in production mode; it must list no diagnostics. "reorder" is dist/reorder.js (the @svelte-lean/core/reorder subpath), esbuild bundle + minify.

@svelte-lean/table

SubjectEntry or toolrawgzipbrotliBudgetStatusNotes
rendererdist/index.js79620 B25080 B22014 B25200 B gzipwithin budget–
headlessdist/core.js5794 B2665 B2440 B2700 B gzipwithin budget–
enginedist/table.svelte.js8488 B3538 B3244 B3600 B gzipwithin budget–
groupingdist/grouping.js4675 B2149 B1962 B2400 B gzipwithin budget–
pivotdist/pivot.js948 B526 B470 B600 B gzipwithin budget–
editingdist/editing.js1367 B707 B617 B800 B gzipwithin budget–
csvdist/export.js1220 B741 B646 B850 B gzipwithin budget–
clipboarddist/clipboard.js1721 B895 B803 B1000 B gzipwithin budget–
serverdist/server.js561 B369 B310 B425 B gzipwithin budget–
statedist/state.js1793 B796 B711 B900 B gzipwithin budget–
stylesdist/style.css42297 B9086 B7896 B9100 B gzipwithin budget–

Command: yarn workspace @svelte-lean/table size. Sizes are deterministic for the toolchain in docs/compatibility.md.

Method

Each entry bundled independently with esbuild (bundle + minify, ESM); shared code is counted per entry here and de-duplicated by consumer bundlers. Svelte peer runtime excluded. gzip level 9 / brotli quality 11 (node:zlib). Budgets are gzip.

@svelte-lean/styles

SubjectEntry or toolrawgzipbrotliBudgetStatusNotes
accordion.css–6055 B970 B817 Bnone–minified before compression
alert.css–7115 B983 B814 Bnone–minified before compression
autocomplete.css–8262 B1010 B867 Bnone–minified before compression
avatar.css–3264 B579 B464 Bnone–minified before compression
badge.css–5081 B922 B763 Bnone–minified before compression
base.css–5738 B669 B563 Bnone–minified before compression
breadcrumb.css–3023 B647 B532 Bnone–minified before compression
button-group.css–3612 B505 B405 Bnone–minified before compression
button.css–7338 B1025 B871 Bnone–minified before compression
calendar.css–13362 B1712 B1486 Bnone–minified before compression
card.css–12972 B1208 B1007 Bnone–minified before compression
carousel.css–6785 B979 B839 Bnone–minified before compression
checkbox-group.css–2632 B458 B364 Bnone–minified before compression
checkbox.css–8771 B1183 B1001 Bnone–minified before compression
control.css–30844 B2726 B2383 Bnone–minified before compression
copy.css–1688 B361 B279 Bnone–minified before compression
date-picker.css–11419 B1411 B1225 Bnone–minified before compression
descriptions.css–3265 B553 B450 Bnone–minified before compression
dialog.css–15968 B1792 B1537 Bnone–minified before compression
empty.css–4113 B687 B583 Bnone–minified before compression
field.css–5613 B699 B590 Bnone–minified before compression
file-drop.css–17070 B1886 B1640 Bnone–minified before compression
findable.css–2787 B425 B343 Bnone–minified before compression
hint.css–2749 B630 B517 Bnone–minified before compression
hover-card.css–2027 B385 B315 Bnone–minified before compression
index.css–1571 B318 B266 Bnone–minified before compression
input.css–29624 B2876 B2527 Bnone–minified before compression
kbd.css–1268 B374 B298 Bnone–minified before compression
listbox.css–5273 B918 B747 Bnone–minified before compression
menu.css–9058 B1182 B993 Bnone–minified before compression
menubar.css–2588 B600 B489 Bnone–minified before compression
meter.css–3659 B489 B392 Bnone–minified before compression
nav.css–13793 B1778 B1521 Bnone–minified before compression
pagination.css–5918 B967 B824 Bnone–minified before compression
popover.css–8781 B1004 B845 Bnone–minified before compression
progress.css–5368 B865 B723 Bnone–minified before compression
radio-group.css–17083 B1853 B1615 Bnone–minified before compression
rating.css–5532 B983 B794 Bnone–minified before compression
scroll-area.css–7010 B859 B738 Bnone–minified before compression
select.css–22717 B2386 B2105 Bnone–minified before compression
separator.css–1135 B285 B219 Bnone–minified before compression
skeleton.css–2953 B568 B481 Bnone–minified before compression
slider.css–11471 B1251 B1047 Bnone–minified before compression
sortable.css–6669 B978 B801 Bnone–minified before compression
splitter.css–4612 B788 B658 Bnone–minified before compression
steps.css–6743 B1100 B930 Bnone–minified before compression
tabs.css–5164 B908 B745 Bnone–minified before compression
timeline.css–3995 B715 B599 Bnone–minified before compression
toast.css–8747 B1254 B1073 Bnone–minified before compression
toggle-group.css–5363 B879 B726 Bnone–minified before compression
toggle.css–6509 B915 B766 Bnone–minified before compression
tokens.css–40043 B4080 B3400 Bnone–minified before compression
toolbar.css–2370 B481 B399 Bnone–minified before compression
tree.css–4483 B854 B722 Bnone–minified before compression
index.css (resolved)–439305 B31502 B25024 B34700 B gzipwithin budgetminified before compression

Command: yarn workspace @svelte-lean/styles size. Sizes are deterministic for the toolchain in docs/compatibility.md.

Method

bytes = shipped source; minified = comments and redundant whitespace removed by scripts/check.mjs minify (a bundler minifier may be slightly smaller); gzip level 9 and brotli quality 11 of the minified text. standalone = the file with the files it @imports inlined. "index.css (resolved)" inlines every @import once, depth first, and carries the budget.

What a consumer ships

Small applications that install the packages like a consumer, built in production mode, with Svelte Lean modules and Svelte's runtime in separate chunks. Assertions: each fixture's expect.json (module graph, forbidden strings, manifest).

FixtureUsesSvelte Lean chunk, brotligziprawSvelte runtime, brotliCSS, brotliSvelte Lean modulesAssertions
autocomplete-onlyowned autocomplete and a bare input with a datalist5350 B5929 B15770 B9852 B6361 B1952 passed
date-picker-onlydate picker and calendar markup11092 B12127 B32238 B12758 B7746 B2657 passed
fields-nativebare inputs, checkbox, switch, segmented radio group0 B0 B0 B8710 B8647 B032 passed
fields-ownedinput shell, validated field, checkbox group, slider group, toggle3803 B4220 B10983 B8710 B8222 B2949 passed
listbox-onlylistbox markup2357 B2612 B5866 B8710 B4450 B1549 passed
manual-registrationtabs markup, register module imported by hand1839 B2048 B4509 B8710 B4427 B1445 passed
native-onlybutton, dialog, popover markup and styles0 B0 B0 B8710 B6149 B034 passed
query-native-pagethe query package installed, nothing imported0 B0 B0 B9480 B0 B020 passed
query-productionreads, writes, http() and laravel()21109 B23268 B62652 B11602 B0 B3150 passed
query-read-onlydefineQuery and createQuery only14416 B15705 B41989 B12013 B0 B2742 passed
query-unused-endpoints500 query endpoints, two imported14412 B15706 B41989 B10081 B0 B2740 passed
select-onlyselect markup6749 B7455 B20096 B12687 B7374 B2355 passed
select-searchselects with search and create7323 B8067 B22186 B14104 B7374 B2756 passed
sortable-only–3833 B4285 B9758 B11397 B4503 B1551 passed
table-basic<DataTable /> and its stylesheet20841 B23613 B65404 B15980 B7783 B1055 passed
tabs-and-menutabs and menu markup4600 B5094 B13033 B8710 B6138 B2046 passed
tabs-onlytabs markup, discovered by the plugin1839 B2048 B4509 B8710 B4427 B1448 passed

Environment: node v22.23.3,vite 7.3.6,svelte 5.57.1,@sveltejs/vite-plugin-svelte 6.2.4. Command: yarn test:fixtures.

Method

Production `vite build` per fixture with Vite defaults (esbuild minify, modulepreload polyfill). Sizes are the emitted JavaScript and CSS files: raw bytes, gzip level 9, brotli quality 11 (node:zlib). "svelteLean" is the svelte-lean chunk that the fixture plugin isolates for every @svelte-lean/* module and "svelteRuntime" the svelte-runtime chunk for Svelte's runtime (both include chunk import/export bindings); 0 B means no such chunk was emitted. "modules.svelteLean" lists rendered @svelte-lean/* modules with their pre-minification rendered length.

Listeners

The claim is an exact assertion: a thousand tabs roots install the same per-type listeners as one. The panel reads the runtime's account and an independent count of every addEventListener call on this page; mount a hundred roots and compare.

Tabs roots on this page: 1
Root 1, overview panel.
Arrow keys, Home and End work in every root; the behavior writes aria-selected, tabindex and hidden to the markup and holds no state.
Runtime
Read from the page after it loads; requires JavaScript.

Gate: listeners.spec.ts (yarn workspace @svelte-lean/playground test:e2e --project=chromium tests/primitives/listeners.spec.ts). Proof mounts up to a thousand roots. Related counts in files:

SubjectValueMethodFile
DOM nodes with a thousand tabs roots8050document.getElementsByTagName("*").length after loadapps/playground/results/bench.json
JavaScript event listeners on the page after five mount and unmount cycles30Performance.getMetrics JSEventListeners at baseline and after the last cycleapps/playground/results/stress.json

Timings

Median of five fresh page loads, every sample recorded; min and max show the spread, and another machine gives other numbers. Startup and interaction are separate entries.

SubjectMedianMinMaxp95SamplesMethod
table.1000-rows.mount287.3 ms235.1 ms303 ms303 ms5component init to the second animation frame after onMount, client render of the whole table (ssr=false); median of 5 loads
table.1000-rows.render202.7 ms195.9 ms219.9 ms219.9 ms5unmount + mount of the DataTable via {#key}, tick() then two animation frames; median of 5
table.1000-rows.sort156.1 ms149.9 ms161 ms161 ms5header button click (ascending by revenue) to the second animation frame; median of 5
table.10000-rows.mount3088.2 ms2272 ms3139.1 ms3139.1 ms5component init to the second animation frame after onMount, client render of the whole table (ssr=false); median of 5 loads
table.10000-rows.render2200.9 ms2101.9 ms2223.9 ms2223.9 ms5unmount + mount of the DataTable via {#key}, tick() then two animation frames; median of 5
table.10000-rows.sort1599.5 ms1571.2 ms1618.5 ms1618.5 ms5header button click (ascending by revenue) to the second animation frame; median of 5
tabs.1000-roots.dom-content-loaded36.4 ms17.8 ms38.2 ms38.2 ms5PerformanceNavigationTiming.domContentLoadedEventEnd of a fresh page.goto; median of 5 loads
tabs.1000-roots.load36.8 ms18.4 ms38.7 ms38.7 ms5PerformanceNavigationTiming.loadEventEnd of a fresh page.goto; median of 5 loads
tabs.1000-roots.time-to-interactive68.6 ms64.5 ms73.7 ms73.7 ms5performance.now() in onMount of the client-rendered page: 1000 roots in the document and the behavior registered; median of 5 loads
tabs.1000-roots.first-interaction1.9 ms1.7 ms2.1 ms2.1 ms5performance.now() around trigger.click() on root 500 right after load (synchronous routing + DOM writes); median of 5 loads
tabs.1000-roots.repeat-interaction0.9 ms0.8 ms1.7 ms1.7 ms5performance.now() around a second trigger.click() on root 900; median of 5 loads
tabs.1000-roots.dom-nodes80508050805080505document.getElementsByTagName("*").length after load

Environment: chromium 153.0.8010.12, linux 6.12.107+deb13-cloud-amd64 x64, AMD EPYC 9555P 64-Core Processor, 16 cores, 31.3 GiB, Node v22.23.3, production build, headless. Date: 2026-10-05T07:11:03.593Z. Command: yarn bench:publish.

Memory after stress cycles

Heap after forced garbage collection, DOM nodes and listeners against a warm-up baseline; the growth tolerance is in each entry's method. Runs nightly, not on every pull request.

  • A thousand tabs roots mounted and unmounted five times.
  • A menu opened and closed two hundred times.
  • One Tier 2 popup opened with ArrowDown and closed with Escape two hundred times, a session per cycle; the scoped document pointerdown listeners installed are recorded next to the JSEventListeners count, for the autocomplete, the owned select and the date picker.
SubjectMedianMinMaxp95SamplesMethod
stress.tabs.mount-unmount.heap-fresh2104624 bytes2104624 bytes2104624 bytesnot measured1JSHeapUsedSize after two forced GCs on /primitives/tabs/many?n=1 right after load
stress.tabs.mount-unmount.heap-baseline2625984 bytes2625984 bytes2625984 bytesnot measured1JSHeapUsedSize after two forced GCs, n=1, after one warm-up cycle 1 → 1000 → 1
stress.tabs.mount-unmount.heap-peak11767108 bytes11700384 bytes11816348 bytes11816348 bytes5JSHeapUsedSize after two forced GCs with 1000 roots mounted and interacted with, one sample per cycle
stress.tabs.mount-unmount.heap-per-cycle8861436 bytes8823824 bytes9141124 bytes9141124 bytes5heap-peak minus the heap after the previous cleanup: what 1000 roots cost, one sample per cycle
stress.tabs.mount-unmount.heap-after-cleanup2945448 bytes2819596 bytes2992524 bytes2992524 bytes5JSHeapUsedSize after two forced GCs back at n=1, one sample per cycle
stress.tabs.mount-unmount.heap-growth375372 bytes375372 bytes375372 bytesnot measured1heap after 5 cycles minus baseline; tolerance max(2 MiB, 15 % of baseline) = 2097152 B
stress.tabs.mount-unmount.nodes-baseline332332332not measured1Performance.getMetrics Nodes at n=1 after the warm-up cycle
stress.tabs.mount-unmount.nodes-after-cleanup3323323323325Performance.getMetrics Nodes back at n=1, one sample per cycle; allowance 100 above baseline
stress.tabs.mount-unmount.js-event-listeners303030302Performance.getMetrics JSEventListeners at baseline and after the last cycle
stress.menu.open-close.heap-baseline2056892 bytes2056892 bytes2056892 bytesnot measured1JSHeapUsedSize after two forced GCs on /primitives/menu after one open/close cycle
stress.menu.open-close.heap-after2116344 bytes2116344 bytes2116344 bytesnot measured1JSHeapUsedSize after two forced GCs after 200 open/close cycles
stress.menu.open-close.heap-growth59452 bytes59452 bytes59452 bytesnot measured1heap after minus baseline; tolerance max(2 MiB, 15 % of baseline) = 2097152 B
stress.menu.open-close.nodes2922922922922Performance.getMetrics Nodes at baseline and after the cycles
stress.menu.open-close.cycles-focused-inside200200200not measured1cycles (of 200) in which the first item had focus when Escape was sent
stress.autocomplete.open-close.heap-baseline2487228 bytes2487228 bytes2487228 bytesnot measured1JSHeapUsedSize after two forced GCs on /primitives/autocomplete after one open/close cycle
stress.autocomplete.open-close.heap-after2715436 bytes2715436 bytes2715436 bytesnot measured1JSHeapUsedSize after two forced GCs after 200 open/close cycles (ArrowDown, Escape) of one Tier 2 root
stress.autocomplete.open-close.heap-growth228208 bytes228208 bytes228208 bytesnot measured1heap after minus baseline; tolerance max(2 MiB, 15 % of baseline) = 2097152 B
stress.autocomplete.open-close.nodes14461446144614462Performance.getMetrics Nodes at baseline and after the cycles
stress.autocomplete.open-close.js-event-listeners474747472Performance.getMetrics JSEventListeners at baseline and after the cycles; a retained session listener would raise it
stress.autocomplete.open-close.session-listeners-installed200200200not measured1document pointerdown installations recorded by the wrapped addEventListener during 200 cycles: one scoped listener per open session
stress.autocomplete.open-close.cycles-active-while-open200200200not measured1cycles (of 200) in which an option was active while the popup was open
stress.select.open-close.heap-baseline2452392 bytes2452392 bytes2452392 bytesnot measured1JSHeapUsedSize after two forced GCs on /primitives/select after one open/close cycle
stress.select.open-close.heap-after2671640 bytes2671640 bytes2671640 bytesnot measured1JSHeapUsedSize after two forced GCs after 200 open/close cycles (ArrowDown, Escape) of one Tier 2 root
stress.select.open-close.heap-growth219248 bytes219248 bytes219248 bytesnot measured1heap after minus baseline; tolerance max(2 MiB, 15 % of baseline) = 2097152 B
stress.select.open-close.nodes9659659659652Performance.getMetrics Nodes at baseline and after the cycles
stress.select.open-close.js-event-listeners515151512Performance.getMetrics JSEventListeners at baseline and after the cycles; a retained session listener would raise it
stress.select.open-close.session-listeners-installed200200200not measured1document pointerdown installations recorded by the wrapped addEventListener during 200 cycles: one scoped listener per open session
stress.select.open-close.cycles-open200200200not measured1cycles (of 200) in which an option was active while the popup was open
stress.date-picker.open-close.heap-baseline2645220 bytes2645220 bytes2645220 bytesnot measured1JSHeapUsedSize after two forced GCs on /primitives/date-picker after one open/close cycle
stress.date-picker.open-close.heap-after2893408 bytes2893408 bytes2893408 bytesnot measured1JSHeapUsedSize after two forced GCs after 200 open/close cycles (ArrowDown into the grid, Escape) of one Tier 2 root
stress.date-picker.open-close.heap-growth248188 bytes248188 bytes248188 bytesnot measured1heap after minus baseline; tolerance max(2 MiB, 15 % of baseline) = 2097152 B
stress.date-picker.open-close.nodes24382438243824382Performance.getMetrics Nodes at baseline and after the cycles
stress.date-picker.open-close.js-event-listeners525252522Performance.getMetrics JSEventListeners at baseline and after the cycles; a retained session listener would raise it
stress.date-picker.open-close.session-listeners-installed200200200not measured1document pointerdown installations recorded by the wrapped addEventListener during 200 cycles: one scoped listener per open session
stress.date-picker.open-close.cycles-open200200200not measured1cycles (of 200) in which focus was on a day of the grid while the popup was open

Environment: chromium 153.0.8010.12, linux 6.12.107+deb13-cloud-amd64 x64, AMD EPYC 9555P 64-Core Processor, 16 cores, 31.3 GiB, Node v22.23.3, production build, headless. Date: 2026-10-05T07:11:35.687Z. Command: yarn bench:publish.

Table with 1000 rows

The specimen of the table timings, every row in the document: no pagination, no virtualization. The readings under it are taken in your browser, not published numbers.

Mounts on demand and requires JavaScript.

Sort by clicking a header; the benchmark's sort entry times a header click to the second animation frame; published values are in the timings table above.
Rows.svelte
<script lang="ts">
	import { DataTable, type Column } from '@svelte-lean/table';
	import '@svelte-lean/table/style.css';
	import { rows, type Row } from './rows'; // one thousand generated rows

	const columns: Column<Row>[] = [
		{ id: 'name', header: 'Name' },
		{ id: 'email', header: 'Email' },
		{ id: 'team', header: 'Team' },
		{ id: 'region', header: 'Region' },
		{ id: 'status', header: 'Status' },
		{ id: 'revenue', header: 'Revenue', align: 'end' },
		{ id: 'joined', header: 'Joined' }
	];
</script>

<!-- Every row is in the document: no pagination, no virtualization. -->
<DataTable
	data={rows}
	{columns}
	getRowId={(row) => row.id}
	label="One thousand rows"
	pagination={false}
	stickyHeader
	height="24rem"
/>

Source