Skip to content

Commit e29e527

Browse files
committed
Cite official js-framework-benchmark in FAQ
1 parent 5b346ef commit e29e527

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ document.querySelectorAll('.ref-list pre').forEach(p => p.innerHTML = hl(p.textC
301301
## FAQ
302302

303303
**How does it compare?**
304-
: Sprae is ~1.5× smaller over the wire, ~2.3× faster, and uses ~3× less runtime memory than Alpine in [this benchmark](./compare). See the [Alpine migration guide](./alpine).
304+
: Sprae is ~1.5× smaller, ~2.3× faster, and uses ~3× less runtime memory than Alpine in [this benchmark](./compare). In the official [js-framework-benchmark](https://krausest.github.io/js-framework-benchmark/current.html) (Chrome 150) it places ahead of Vue, Preact and React in CPU speed. See the [Alpine migration guide](./alpine).
305305

306306
**Strict CSP? Browser extension?**
307307
: The [CSP build](./csp) interprets JavaScript expressions without `eval` or `new Function`. Bundle it locally for Chrome MV3 extensions. It supports arrow functions, unlike Alpine's CSP build.

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,10 +516,10 @@ Works with [define-element](https://github.com/dy/define-element), Lit, or any C
516516
## FAQ
517517

518518
**How does it compare to Alpine?**<br>
519-
Sprae is ~1.5× smaller over the wire, ~2.3× faster, and uses ~3× less runtime memory in [this comparison](https://dy.github.io/sprae/compare). It has pluggable signals, built-in modifiers, event chains, and a full-JS [CSP build](https://dy.github.io/sprae/csp).
519+
Sprae is ~1.5× smaller, ~2.3× faster, and uses ~3× less runtime memory in [this comparison](https://dy.github.io/sprae/compare). It has pluggable signals, built-in modifiers, event chains, and a full-JS [CSP build](https://dy.github.io/sprae/csp).
520520

521521
**How does it compare to React/Vue?**<br>
522-
Sprae needs no build step or virtual DOM. In [JSX](#jsx--nextjs), it adds client-side interactivity without `'use client'`.
522+
In the official [js-framework-benchmark](https://krausest.github.io/js-framework-benchmark/current.html) (Chrome 150), sprae places ahead of Vue, Preact and React in CPU speed, at 10kb compressed, with no build step or virtual DOM. In [JSX](#jsx--nextjs), it adds client-side interactivity without `'use client'`.
523523

524524
**Why signals?**<br>
525525
Signals have a [TC39 proposal](https://github.com/tc39/proposal-signals), and sprae accepts any Preact Signals-compatible implementation.

0 commit comments

Comments
 (0)