2,047 components. Mounted 3.6× faster than Svelte 5.
Svelte compiles components into direct DOM updates. So does Pyreon, from plain TSX instead of a .svelte file, and its server rendering came out ahead of Svelte 5 at 10, 100 and 1,000 rows. Miss writing count++? Plain Mode lets you.
npm create @pyreon/zero@latest - 3.6× faster to mount a 2,047-component tree: 3.09 ms against 11.02 msreal Chromium, run 1 table of a two-run refresh (2026-11-24)
- 1.55× faster compiled SSR at 100 rows (11.64 against 18.08 µs); 1.21× at 10 rows, 1.46× at 1,000one run
- 2.0× faster swapping two rows in 1,000: 745 µs against 1.49 msreal Chromium, run 1 table (1.8× in run 2)
Synthetic, author-run, Apple M3 Max, real Chromium unless noted. Reproduce: pyreon.dev/docs/benchmarks
Every result, including where we lose →Pyreon and Svelte, line by line.
Synthetic, author-run, Apple M3 Max, real Chromium unless noted. Reproduce: pyreon.dev/docs/benchmarks
- PyreonPyreon is ahead on the record
- Svelte aheadSvelte is ahead, and we say so
- tieconfidence intervals overlap
- differentno winner: they work differently
| Topic | Pyreon | Svelte | Verdict |
|---|---|---|---|
| Mount a deep tree (2,047 components) | 3.09 ms | 11.02 ms | Pyreon |
| Compiled SSR, 10 / 100 / 1,000 rows | 1.80 / 11.64 / 109.9 µs | 2.18 / 18.08 / 160.5 µs (one run) | Pyreon |
| Create 10,000 rows | 73.09 ms | 87.54 ms | Pyreon |
| Swap two rows in 1,000 | 745 µs | 1.49 ms | Pyreon |
| Memo wall: passthrough | 410 / 407 µs | 438 / 437 µs (Svelte was the fastest rival); Pyreon 1.07× in both runs | Pyreon |
| 12-field form, keystroke (blur mode) | 60 µs | 700 µs (Felte, one run) | Pyreon |
| dbmon tick (every value changes) | 1.71 / 1.70 ms | 1.75 / 1.71 ms: a three-way tie with Octane | tie |
| Bundle, same keyed-table app (gzip) | 18.5 KB | 16.1 KB: Svelte is 2.4 KB smaller | Svelte ahead |
| Authoring | .tsx functions. Plain Mode ('use plain') lets you write let count = state(0) and count++. | .svelte files with runes, template blocks and scoped CSS. | different |
| Native apps | PMTC compiles the same components to SwiftUI and Compose (experimental). | No first-party native target. | Pyreon |
| Ecosystem and maturity | No adoption claims yet. | Svelte 5 is a stable major with SvelteKit and years in production. | Svelte ahead |
Synthetic, author-run, Apple M3 Max, real Chromium unless noted. Reproduce: pyreon.dev/docs/benchmarks Method and every result →
The measured rows, drawn.
Synthetic, author-run, Apple M3 Max, real Chromium unless noted. Reproduce: pyreon.dev/docs/benchmarks
How we measure →The same search box, twice.
Svelte's bind:value and direct assignment are terse; Pyreon spells the write out. In exchange the component is a TypeScript function, not a second file format.
<script lang="ts">
type Item = { id: number; name: string }
let { items }: { items: Item[] } = $props()
let query = $state('')
const visible = $derived(
items.filter((i) => i.name.toLowerCase().includes(query.toLowerCase())),
)
</script>
<div>
<input bind:value={query} />
<p>{visible.length} matches</p>
<ul>
{#each visible as i (i.id)}
<li>{i.name}</li>
{/each}
</ul>
</div>import { For } from '@pyreon/core'
import { computed, signal } from '@pyreon/reactivity'
type Item = { id: number; name: string }
export function Search(props: { items: Item[] }) {
const query = signal('')
const visible = computed(() =>
props.items.filter((i) => i.name.toLowerCase().includes(query().toLowerCase())),
)
return (
<div>
<input value={query()} onInput={(e) => query.set(e.currentTarget.value)} />
<p>{visible().length} matches</p>
<ul>
<For each={visible()} by={(i) => i.id}>
{(i) => <li>{i.name}</li>}
</For>
</ul>
</div>
)
}Svelte side: compiled with the Svelte 5.57.3 compiler, 0 warnings. Pyreon side: typechecked against the repo's tsconfig (0 errors), compiled with the real JSX compiler (transformJSX) and mounted in happy-dom; typing into the input filters the list.
What you stop writing.
- stop writingStop writing: The
.sveltefile formatInstead: Plain.tsx: TypeScript, your linter and your editor read it with no extra language tooling. - stop writingStop writing: Template blocks (
{#if},{#each},bind:value)Instead:<Show>,<For each by>,valueplusonInput.
Keep your stores while you move.
@pyreon/svelte-compat runs svelte/store, lifecycle and context on Pyreon. Components move to TSX.
When to pick Svelte
- The smallest output matters more than mount or update cost: the same app is 16.1 KB in Svelte and 18.5 KB in Pyreon.
- You like single-file components with template blocks and scoped CSS.
- You want SvelteKit and a stable major version with a long production record.
Compiled speed, in plain TypeScript.
npm create @pyreon/zero@latest