diff --git a/content/docs/connectors/index.mdx b/content/docs/connectors/index.mdx index e571c7d..a43256e 100644 --- a/content/docs/connectors/index.mdx +++ b/content/docs/connectors/index.mdx @@ -35,7 +35,7 @@ Every connector exports these functions: ### connector-styler (Recommended) -Uses the built-in `@vitus-labs/styler` engine (~10.3 KB gzipped) — purpose-built for the UI system. +Uses the built-in `@vitus-labs/styler` engine (4.82 KB gzipped) — purpose-built for the UI system. ```package-install @vitus-labs/connector-styler @@ -158,11 +158,13 @@ init({ css: engineCss, styled: engineStyled, provider: engineProvider }) | Connector | Platform | Size (gzipped) | When to Use | |-----------|----------|----------------|-------------| -| **connector-styler** | Web | ~10.3 KB (engine) + 193 B (adapter) | New projects, best performance | +| **connector-styler** | Web | 4.82 KB (engine) + 193 B (adapter) | New projects; built-in engine, no external dep | | **connector-styled-components** | Web | ~12 KB (engine) + 186 B (adapter) | Existing styled-components codebase | | **connector-emotion** | Web | ~11 KB (engine) + 1.28 KB (adapter) | Existing Emotion codebase | | **[connector-native](/docs/connectors/native)** | React Native | 2.74 KB | React Native applications | +Per-scenario `ops/sec` numbers comparing all three engines via the in-repo bench live on the [styler page](/docs/styler#competitive-bench-render-to-string--csr). + ### Web Connector Compatibility All web connectors support: diff --git a/content/docs/core/index.mdx b/content/docs/core/index.mdx index 0345b63..c0d81f9 100644 --- a/content/docs/core/index.mdx +++ b/content/docs/core/index.mdx @@ -243,7 +243,7 @@ Three official connectors are available: | Connector | Package | Size (gzipped) | Notes | |-----------|---------|---------------:|-------| -| Styler | `@vitus-labs/connector-styler` | ~10.3 KB engine + 193 B adapter | Built-in engine, recommended | +| Styler | `@vitus-labs/connector-styler` | 4.82 KB engine + 193 B adapter | Built-in engine, recommended | | Emotion | `@vitus-labs/connector-emotion` | ~11 KB engine + 1.28 KB adapter | Adapter matching styled-components composition | | styled-components | `@vitus-labs/connector-styled-components` | ~12 KB engine + 186 B adapter | Direct pass-through | diff --git a/content/docs/index.mdx b/content/docs/index.mdx index b4b176f..bc39dc1 100644 --- a/content/docs/index.mdx +++ b/content/docs/index.mdx @@ -12,7 +12,7 @@ Components, styling, layout, hooks, and theming for React applications. | Package | Description | |---------|-------------| | [@vitus-labs/core](/docs/core) | Configuration, initialization, and shared utilities | -| [@vitus-labs/styler](/docs/styler) | High-performance CSS-in-JS engine (~10.3 KB gzipped) | +| [@vitus-labs/styler](/docs/styler) | CSS-in-JS engine — 4.82 KB gzipped, React 19 SSR via `