Skip to content

Proposal: add Avalon to the benchmarks #928

Open

Description

@MadsHaerup

Proposal: add Avalon to the benchmarks

Avalon (docs) is an islands-architecture meta-framework built on Vite 8 and Nitro, with Preact as its default rendering engine (@useavalon/avalon on npm, currently 0.9.3). I'm a maintainer of it and would like to add it to the runtime benchmarks, following the "Adding a New Framework" steps in CONTRIBUTING.md.

Fit with the benchmarks

Avalon can run all five runtime tests: SSR request throughput, client-side rendered, server-side rendered, initial load and SSR load. Navigation uses plain anchors with full-document navigation (no client router), like Astro, so it has no router-link load test. For the dev-time starter I would measure install, build and dependencies.

What is ready

Everything is built and passes the repo's checks (format, type-check, stats-generator tests, docs build) on a branch in my fork: https://github.com/MadsHaerup/framework-performance/tree/add-avalon

  • packages/starter-avalon: generated with [email protected] --yes, versions pinned exactly, with first-party-dependencies.json and a lockfile. The only changes to the generated project are the exact version pins, a type-check script and a declaration file for Avalon's virtual modules; they are listed in the methodology.
  • packages/app-avalon: the runtime app, pinned to the same version.
  • frameworks-config.ts, benchmark-types.ts, an SSR throughput handler, the logo, the framework docs page, README links and the methodology updates.

I have not opened a PR, as the contributing guide asks for approval here first.

Local results

One run per framework, same machine, Node 24.22.1, Avalon 0.9.2 (0.9.3 only changes how a polyfill is imported). Indicative only (single run, laptop); the official numbers would come from CI after merge.

Framework SSR handler throughput (ops/s) SSR load test (req/s)
Avalon 539 416
Baseline HTML 531 580
Astro 439 479
Pracht 275 264
Solid 246 208
Void 195 218
SvelteKit 193 224
Nuxt 187 196
SolidStart 181 213
TanStack Start 167 n/a
React Router 164 155
Next.js 83 107

Ongoing maintenance

If approved and merged, I commit to maintaining the integration: framework and dependency upgrades, fixing build or benchmark failures, validating the setup when new benchmarks are added, and keeping the setup and methodology documentation current.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions