Skip to content

feat: add cross-library email benchmark suite#13

Closed
farrelaby wants to merge 1 commit into
Akin01:mainfrom
farrelaby:feat/add-cross-library-benchmark
Closed

feat: add cross-library email benchmark suite#13
farrelaby wants to merge 1 commit into
Akin01:mainfrom
farrelaby:feat/add-cross-library-benchmark

Conversation

@farrelaby

Copy link
Copy Markdown
Contributor

Add benchmarks/cross-library/ comparing solid-email against jsx-email, react-email, and mjml-react using custom timing (performance.now), memory tracking, and HTML conformance validation.

Results (marketing email template, 50 iter x 10 runs):

  • solid-email compileSync: 17 us (58k ops/s) — 159x faster than react-email
  • solid-email renderSync: 1.25 ms (799 ops/s) — 2.2x faster than react-email
  • react-email render: 2.74 ms (366 ops/s), 26.4 MB heap
  • All libraries produce 100% conformance

Summary

Verification

Checklist

  • Tests or examples cover the changed behavior.
  • Types were checked without suppressions.
  • Public API changes are reflected in docs or examples.

Add benchmarks/cross-library/ comparing solid-email against jsx-email,
react-email, and mjml-react using custom timing (performance.now),
memory tracking, and HTML conformance validation.

Results (marketing email template, 50 iter x 10 runs):
- solid-email compileSync: 17 us (58k ops/s) — 159x faster than react-email
- solid-email renderSync: 1.25 ms (799 ops/s) — 2.2x faster than react-email
- react-email render: 2.74 ms (366 ops/s), 26.4 MB heap
- All libraries produce 100% conformance
@farrelaby farrelaby marked this pull request as draft June 30, 2026 13:45
@farrelaby farrelaby closed this Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant