2 pointsby harmtrav2 hours ago1 comment
  • harmtrav2 hours ago
    I built this as an alternative to js-framework-benchmark because those benchmarks are easy to game with framework-specific optimizations.

    jsbenchmarks.com is an attempt to focus on real-world patterns: mixed updates, typical DOM complexity, and common operations.

    The results surprised me: Angular performs best, while Solid and Svelte (which dominate traditional benchmarks) are near the bottom. I'm sure the Solid and Svelte implementations could be improved and I welcome PRs.

    Would love feedback on the methodology and what other scenarios to test.

    • rich_harris25 minutes ago
      The Svelte implementation is very inefficient. With a small change I was able to get it to the number two spot on both duration and memory, at least running on this machine. Thyn is in the top spot on both counts — not _hugely_ surprising for a brand new project, but impressive nonetheless.

      React, needless to say, languishes at the bottom.

      Will send a PR to fix the Svelte implementation.

      • harmtrav2 minutes ago
        Thanks for the PRs. Will update it soon.