From ef45e03f0e22ca4f6474ca4ece342b8ccb7ea44b Mon Sep 17 00:00:00 2001 From: ayo Date: Fri, 24 Jul 2026 06:09:09 +0200 Subject: [PATCH] docs: update comparison table for v6.1.2 --- docs/src/content/docs/guides/comparison.md | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/content/docs/guides/comparison.md b/docs/src/content/docs/guides/comparison.md index fec2684..52a2955 100644 --- a/docs/src/content/docs/guides/comparison.md +++ b/docs/src/content/docs/guides/comparison.md @@ -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.2–v6.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._ diff --git a/package.json b/package.json index aad8cb2..2d62b3c 100644 --- a/package.json +++ b/package.json @@ -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": {