eknkc / ssr-benchmark

Benchmarking JS web framework SSR performance
745 stars 172 forks source link

feat: added kitajs/html #11

Closed arthurfiorette closed 1 month ago

arthurfiorette commented 1 month ago

Feel free to ignore if you're not accepting new frameworks.

This benchmark uses a empty string as a suspense fallback, just like react does.

┌─────────┬──────────────┬─────────┬──────────────┬─────────┬───────────┬─────────────┬──────────────────┐
│ (index) │ name         │ ops/sec │ average (ms) │ samples │ body (kb) │ duplication │ relative to kita │
├─────────┼──────────────┼─────────┼──────────────┼─────────┼───────────┼─────────────┼──────────────────┤
│ 0       │ 'kita'       │ 2844    │ '0.352'      │ 28447   │ '97.34'   │ 'x1.00'     │ ''               │
│ 1       │ 'react'      │ 885     │ '1.130'      │ 8851    │ '97.28'   │ 'x1.00'     │ '3.21 x slower'  │
│ 2       │ 'sveltekit'  │ 628     │ '1.591'      │ 6287    │ '184.46'  │ 'x2.00'     │ '4.53 x slower'  │
│ 3       │ 'solid'      │ 612     │ '1.632'      │ 6127    │ '215.93'  │ 'x2.00'     │ '4.65 x slower'  │
│ 4       │ 'remix'      │ 445     │ '2.246'      │ 4452    │ '189.10'  │ 'x2.00'     │ '6.39 x slower'  │
│ 5       │ 'vue'        │ 246     │ '4.054'      │ 2467    │ '96.72'   │ 'x1.00'     │ '11.56 x slower' │
│ 6       │ 'nuxt'       │ 202     │ '4.929'      │ 2029    │ '97.57'   │ 'x1.00'     │ '14.08 x slower' │
│ 7       │ 'next-pages' │ 94      │ '10.619'     │ 942     │ '187.67'  │ 'x2.00'     │ '30.26 x slower' │
│ 8       │ 'mfng'       │ 69      │ '14.368'     │ 697     │ '317.31'  │ 'x2.50'     │ '41.22 x slower' │
│ 9       │ 'next'       │ 52      │ '19.161'     │ 522     │ '284.64'  │ 'x2.00'     │ '54.69 x slower' │
└─────────┴──────────────┴─────────┴──────────────┴─────────┴───────────┴─────────────┴──────────────────┘