Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all deps, add additional unit tests, add signals-polyfill, signia, svelte v5, update results #1

Merged
merged 35 commits into from
Sep 16, 2024

Conversation

transitive-bullshit
Copy link
Owner

This PR rebases on top of milomg#12 by @NullVoxPopuli. It updates all deps and contains the changes I needed to get everything working.

  • updates all deps to latest (except for compostate since when I updated to latest it no longer worked)
  • adds TC39 Signals Proposal polyfill framework via Add tc39 stage 0 proposal milomg/js-reactivity-benchmark#12
  • adds the signia framework
  • adds the valtio framework
  • adds the svelte v5 framework
  • adds some additional unit tests to ensure correctness of the framework adapters
  • changes mobx and @vue/reactivity to use shallow signals (to make sure we're comparing apples to apples)
  • adds some additional unit tests to ensure all frameworks are working as expected
  • fixes several bugs and inconsistencies with the existing framework implementations
  • adds a prettier config which matches the existing formatting
  • updates the readme results

Average benchmark results across frameworks (lower times are better)

These results were last updated September 2024 on an M3 Macbook Pro using Node.js v22.4.1 (29d22d6).

This work has exposed several issues with some of these frameworks:

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@angular/[email protected] None +3 27.8 MB angular, google-wombot
npm/@preact/[email protected] None +1 301 kB jdecroock
npm/@types/[email protected] None +1 2.29 MB types
npm/@vue/[email protected] None +1 413 kB soda, yyx990803
npm/[email protected] None 0 134 kB esbuild, evanw
npm/[email protected] environment 0 4.32 MB mweststrate
npm/[email protected] None 0 1.44 MB jin
npm/[email protected] None 0 543 kB fabiospampinato
npm/[email protected] None 0 1.41 MB jdecroock
npm/[email protected] environment, filesystem, unsafe 0 7.7 MB prettier-bot
npm/[email protected] None 0 152 kB fisch0920
npm/[email protected] environment +2 339 kB react-bot
npm/[email protected] None 0 135 kB nullvoxpopuli
npm/[email protected] None 0 329 kB ds300
npm/[email protected] None +3 3.26 MB ryansolid
npm/[email protected] None +17 4.63 MB conduitry, rich_harris, svelte-admin
npm/[email protected] None +1 144 kB daishi
npm/[email protected] Transitive: environment, filesystem, network, shell, unsafe +39 10.1 MB antfu, oreanno, patak, ...1 more

🚮 Removed packages: npm/@angular/[email protected], npm/@preact/[email protected], npm/@types/[email protected], npm/@vue/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

@transitive-bullshit transitive-bullshit merged commit 434a77f into main Sep 16, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants