preactjs / signals

Manage state with style in every framework
https://preactjs.com/blog/introducing-signals/
MIT License
3.63k stars 88 forks source link

[demo] add some benchmarks #471

Open developit opened 6 months ago

developit commented 6 months ago

Probably worth extracting these into a proper set of benchmarks runnable in CI using proper statistics, but I figured I'd commit some stuff I had here.

https://github.com/preactjs/signals/assets/105127/df9d318a-0234-4cc3-a381-8d21de2552e3

changeset-bot[bot] commented 6 months ago

⚠ī¸ No Changeset found

Latest commit: 96a2e6f60f9135947269526109ca101679368d91

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

netlify[bot] commented 6 months ago

Deploy Preview for preact-signals-demo ready!

Name Link
Latest commit 96a2e6f60f9135947269526109ca101679368d91
Latest deploy log https://app.netlify.com/sites/preact-signals-demo/deploys/6582186bbf1d460008d1596c
Deploy Preview https://deploy-preview-471--preact-signals-demo.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

github-actions[bot] commented 6 months ago

Size Change: +1.65 kB (+2%)

Total Size: 82.6 kB

Filename Size Change
docs/dist/assets/style.********.css 1.24 kB +30 B (+2%)
docs/dist/demos-********.js 3.44 kB +33 B (+1%)
docs/dist/assets/bench.********.js 1.58 kB +1.58 kB (new file) 🆕
ℹī¸ View Unchanged | Filename | Size | | :--- | :---: | | `docs/dist/assets/client.********.js` | 46.3 kB | | `docs/dist/assets/index.********.js` | 1.07 kB | | `docs/dist/assets/jsxRuntime.module.********.js` | 281 B | | `docs/dist/assets/preact.module.********.js` | 4.02 kB | | `docs/dist/assets/signals-core.module.********.js` | 1.46 kB | | `docs/dist/assets/signals.module.********.js` | 2.02 kB | | `docs/dist/assets/style.********.js` | 21 B | | `docs/dist/basic-********.js` | 244 B | | `docs/dist/nesting-********.js` | 1.13 kB | | `docs/dist/react-********.js` | 242 B | | `packages/core/dist/signals-core.js` | 1.54 kB | | `packages/core/dist/signals-core.mjs` | 1.56 kB | | `packages/preact/dist/signals.js` | 1.27 kB | | `packages/preact/dist/signals.mjs` | 1.22 kB | | `packages/react-transform/dist/signals-*********.js` | 4.76 kB | | `packages/react-transform/dist/signals-transform.mjs` | 4 kB | | `packages/react-transform/dist/signals-transform.umd.js` | 4.87 kB | | `packages/react/dist/signals.js` | 189 B | | `packages/react/dist/signals.mjs` | 150 B |

compressed-size-action