docs(website): add the comparison page - #235
Draft
dangreen wants to merge 3 commits into
Draft
Conversation
… benchmark Also drop the `bench.warmup()` call in `effectScope.js`: tinybench 6 warms up inside `run()` and has no such method, so the file did not start.
Numbers measured on AMD Ryzen 5 PRO 3400G with Node.js v24.14.1: every case in a fresh Node.js process in shuffled order, median of 11 rounds. tinybench 6 runs each task once inside `add()`, so cases were isolated to keep one library's setup from affecting another's numbers. The Introduction table gains Zustand and Preact Signals, the kida README table is aligned with it.
Nano Kit next to Nano Stores, Zustand, Jotai, TanStack Query, TanStack Router and the `@nanostores` packages: feature tables per layer, sizes measured with Vite 8.2.1 and rolldown 1.2.7, and a "Nano Kit vs" section for every library in the tables. The page sits right after the Introduction in Getting Started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## chore/effect-benchmark-refresh #235 +/- ##
===============================================================
Coverage 82.75% 82.75%
===============================================================
Files 98 98
Lines 2465 2465
Branches 521 521
===============================================================
Hits 2040 2040
Misses 315 315
Partials 110 110 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft. Stacked on #234: the base is
chore/effect-benchmark-refresh, so this diff shows only the comparison page; GitHub retargets it tomainonce that PR merges.What
New
getting-started/comparisonpage, second item in Getting Started, with the Introduction pinned first in the sidebar.Nano Kit vs …for each.@nanostores/query, TanStack Query. Same structure.@nanostores/router, TanStack Router. Same structure, plus three@nano_kit/routerimport sets so the TanStack row compares like for like.Numbers
Sizes: Vite 8.2.1 with rolldown 1.2.7, app build of one entry that imports the listed names, default minifier, ES2022, gzip level 9, versions listed in the note at the top of the page. Benchmark figures quoted in the text come from the tables refreshed in the base PR.
Every claim about another library was checked against that library's README or exports; every size claim is tied to the measured import set.