Skip to content
Pyreon vs Svelte

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 →
side by side

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
Measured against svelte 5.57.3
TopicPyreonSvelteVerdict
Mount a deep tree (2,047 components)3.09 ms11.02 msPyreon
Compiled SSR, 10 / 100 / 1,000 rows1.80 / 11.64 / 109.9 µs2.18 / 18.08 / 160.5 µs (one run)Pyreon
Create 10,000 rows73.09 ms87.54 msPyreon
Swap two rows in 1,000745 µs1.49 msPyreon
Memo wall: passthrough410 / 407 µs438 / 437 µs (Svelte was the fastest rival); Pyreon 1.07× in both runsPyreon
12-field form, keystroke (blur mode)60 µs700 µs (Felte, one run)Pyreon
dbmon tick (every value changes)1.71 / 1.70 ms1.75 / 1.71 ms: a three-way tie with Octanetie
Bundle, same keyed-table app (gzip)18.5 KB16.1 KB: Svelte is 2.4 KB smallerSvelte 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 appsPMTC compiles the same components to SwiftUI and Compose (experimental).No first-party native target.Pyreon
Ecosystem and maturityNo 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 →

measured

The measured rows, drawn.

Pyreon vs Svelte: measured Pyreon vs Svelte, the measured rows from the page's table: Mount a deep tree (2,047 components): Pyreon 3.09 ms, Svelte 11.02 ms (Pyreon ahead); Compiled SSR, 10 / 100 / 1,000 rows: Pyreon 1.80 / 11.64 / 109.9 µs, Svelte 2.18 / 18.08 / 160.5 µs (one run) (Pyreon ahead); Create 10,000 rows: Pyreon 73.09 ms, Svelte 87.54 ms (Pyreon ahead); Swap two rows in 1,000: Pyreon 745 µs, Svelte 1.49 ms (Pyreon ahead); Memo wall: passthrough: Pyreon 410 / 407 µs, Svelte 438 / 437 µs (Svelte was the fastest rival); Pyreon 1.07× in both runs (Pyreon ahead); 12-field form, keystroke (blur mode): Pyreon 60 µs, Svelte 700 µs (Felte, one run) (Pyreon ahead); dbmon tick (every value changes): Pyreon 1.71 / 1.70 ms, Svelte 1.75 / 1.71 ms: a three-way tie with Octane (tie); Bundle, same keyed-table app (gzip): Pyreon 18.5 KB, Svelte 16.1 KB: Svelte is 2.4 KB smaller (Svelte ahead). PYREON VS SVELTE · MEASURED ROWS · LOWER IS BETTERPyreon and Svelte, line by line.Mount a deep tree (2,047 components)PYREON3.09 msPyreon11.02 msSvelteCompiled SSR, 10 / 100 / 1,000 rowsPYREON109.9 µsPyreon160.5 µsSvelteCreate 10,000 rowsPYREON73.09 msPyreon87.54 msSvelteSwap two rows in 1,000PYREON745 µsPyreon1.49 msSvelteMemo wall: passthroughPYREON407 µsPyreon437 µsSvelte12-field form, keystroke (blur mode)PYREON60 µsPyreon700 µsSveltedbmon tick (every value changes)TIE1.70 msPyreon1.71 msSvelteBundle, same keyed-table app (gzip)SVELTE AHEAD18.5 KBPyreon16.1 KBSveltesynthetic · author-run · M3 Max · record refreshed 2026-11-24 · run conditions per row on the page

Synthetic, author-run, Apple M3 Max, real Chromium unless noted. Reproduce: pyreon.dev/docs/benchmarks

How we measure →
same component

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.

Svelte 5 (runes) · Search.svelte
<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>
Pyreon · Search.tsx
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.

the code you delete

What you stop writing.

  • stop writing
    Stop writing: The .svelte file formatInstead: Plain .tsx: TypeScript, your linter and your editor read it with no extra language tooling.
  • stop writing
    Stop writing: Template blocks ({#if}, {#each}, bind:value)Instead: <Show>, <For each by>, value plus onInput.
migration

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
Every result, including where we lose