docs: update comparison table for v6.1.2

This commit is contained in:
ayo 2026-07-24 06:09:09 +02:00 committed by Ayo
parent 63daf6e314
commit ef45e03f0e
2 changed files with 4 additions and 4 deletions

View file

@ -15,11 +15,11 @@ See it live: [Library comparison demo ↗](https://demo.webcomponent.io/examples
| Library | Version | Minified | Gzip | Brotli |
| ------------------------- | ------- | -------- | ------- | ---------- |
| **web-component-base** | 6.1.1 | 6.7 kB | 2.9 kB | **2.6 kB** |
| **web-component-base** | 6.1.2 | 6.6 kB | 2.9 kB | **2.6 kB** |
| `@elenajs/core` | 1.0.0 | 9.1 kB | 3.7 kB | 3.4 kB |
| `lit` | 3.3.3 | 15.3 kB | 5.9 kB | 5.3 kB |
| `@microsoft/fast-element` | 3.0.1 | 44.8 kB | 13.6 kB | 12.2 kB |
| vanilla `HTMLElement` | - | - | - | ~0.2 kB |
| vanilla `HTMLElement` | - | 0.6 kB | 0.3 kB | 0.2 kB |
For scale: even after all of the v5.2v6.1 work, the WCB counter is **~21% smaller than Elena, ~51% smaller than Lit, and ~79% smaller than FAST**.
@ -51,4 +51,4 @@ For what these numbers and capabilities add up to (and when they don't) see [Why
---
_WCB re-measured 2026-07-23 at v6.1.1; the other libraries measured 2026-07-19, with esbuild, Node zlib (gzip 9, brotli q11), at the pinned versions above. Methodology: identical counter component per library, bundled per library, compressed. Re-run them yourself — the counters and the [`measure.mjs`](https://demo.webcomponent.io/examples/library-comparison/) script live in the demo workspace (`demo/examples/library-comparison/`). The benchmark is trivially reproducible with the versions pinned above._
_WCB re-measured 2026-07-24 at v6.1.2; the other libraries measured 2026-07-19, with esbuild, Node zlib (gzip 9, brotli q11), at the pinned versions above. Methodology: identical counter component per library, bundled per library, compressed. Re-run them yourself — the counters and the [`measure.mjs`](https://demo.webcomponent.io/examples/library-comparison/) script live in the demo workspace (`demo/examples/library-comparison/`). The benchmark is trivially reproducible with the versions pinned above._

View file

@ -1,6 +1,6 @@
{
"name": "web-component-base",
"version": "6.1.1",
"version": "6.1.2",
"description": "A zero-dependency & tiny JS base class for creating reactive custom elements easily",
"type": "module",
"exports": {