Skip to content

Commit

Permalink
chore: update benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
flamrdevs committed Sep 18, 2023
1 parent 5407ec7 commit cc78793
Showing 1 changed file with 64 additions and 38 deletions.
102 changes: 64 additions & 38 deletions docs/benchmark.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,60 +6,86 @@
</a>
</p>

<!-- /information/ -->

OS `x64 | win32 | 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz | 15.71GB`

Node.js `v20.5.1`

Testing on `Friday, 15 September 2023`.
Testing on `Monday, 18 September 2023`.

<!-- /information/ -->

## Variants

<!-- variants -->

| No | Libs | Ops/Sec |
| --- | ------------------------------------ | ------: |
| 1 | @klass/core | 2359262 |
| 2 | onno | 1589834 |
| 3 | classname-variants | 1262852 |
| 4 | @tw-classed/core | 886347 |
| 5 | @klass/core + tailwind-merge | 604750 |
| 6 | @intrnl/cv | 603070 |
| 7 | tailwind-variants(-tailwind-merge) | 416523 |
| 8 | tailwind-variants(+tailwind-merge) | 353357 |
| 9 | @vanilla-extract/recipes (impostor!) | 342620 |
| 10 | cvu | 295359 |
| 11 | classname-manager | 275028 |
| 12 | cva | 273486 |
| 13 | cvu + tailwind-merge | 207270 |
| 14 | cva + tailwind-merge | 197720 |
| 15 | stitches (impostor!) | 90523 |
| 16 | pandacss (impostor!) | 79138 |
| 1 | @klass/core | 2341085 |
| 2 | onno | 1568843 |
| 3 | classname-variants | 1263966 |
| 4 | @tw-classed/core | 902224 |
| 5 | @klass/core + tailwind-merge | 612165 |
| 6 | @intrnl/cv | 581965 |
| 7 | tailwind-variants(-tailwind-merge) | 415365 |
| 8 | @vanilla-extract/recipes (impostor!) | 381392 |
| 9 | tailwind-variants(+tailwind-merge) | 344132 |
| 10 | cvu | 275671 |
| 11 | classname-manager | 271240 |
| 12 | cva | 267428 |
| 13 | cvu + tailwind-merge | 200508 |
| 14 | cva + tailwind-merge | 191538 |
| 15 | stitches (impostor!) | 91132 |
| 16 | pandacss (impostor!) | 78691 |

<!-- variants -->

## Variants Compound

<!-- variants-compound -->

| No | Libs | Ops/Sec |
| --- | ------------------------------------ | ------: |
| 1 | @klass/core | 612640 |
| 2 | classname-variants | 596251 |
| 3 | onno | 581667 |
| 4 | @intrnl/cv | 478861 |
| 5 | @klass/core + tailwind-merge | 334563 |
| 6 | @vanilla-extract/recipes (impostor!) | 279898 |
| 7 | @tw-classed/core | 143751 |
| 8 | cva | 105350 |
| 9 | cva + tailwind-merge | 89046 |
| 10 | stitches (impostor!) | 75254 |
| 11 | cvu | 52748 |
| 12 | tailwind-variants(-tailwind-merge) | 52349 |
| 13 | tailwind-variants(+tailwind-merge) | 51280 |
| 14 | cvu + tailwind-merge | 48585 |
| 15 | pandacss (impostor!) | 40121 |
| 1 | @klass/core | 717593 |
| 2 | classname-variants | 590949 |
| 3 | onno | 565065 |
| 4 | @intrnl/cv | 455784 |
| 5 | @klass/core + tailwind-merge | 358744 |
| 6 | @vanilla-extract/recipes (impostor!) | 273685 |
| 7 | @tw-classed/core | 143293 |
| 8 | cva | 104751 |
| 9 | cva + tailwind-merge | 87456 |
| 10 | stitches (impostor!) | 74524 |
| 11 | cvu | 52909 |
| 12 | tailwind-variants(-tailwind-merge) | 52291 |
| 13 | tailwind-variants(+tailwind-merge) | 49364 |
| 14 | cvu + tailwind-merge | 47717 |
| 15 | pandacss (impostor!) | 39917 |

<!-- variants-compound -->

## Responsive Variants

<!-- responsive-variants -->

| No | Libs | Ops/Sec |
| --- | -------------------------------------- | ------: |
| 1 | @klass/core | 649255 |
| 2 | @klass/core + tailwind-merge | 486601 |
| 3 | tailwind-variants(-tailwind-merge) | 124291 |
| 4 | tailwind-variants(+tailwind-merge) | 124171 |
| 5 | @vanilla-extract/sprinkles (impostor!) | 93788 |
| 6 | pandacss (impostor!) | 49954 |
| 1 | @klass/core | 668117 |
| 2 | @klass/core + tailwind-merge | 472532 |
| 3 | tailwind-variants(-tailwind-merge) | 124535 |
| 4 | tailwind-variants(+tailwind-merge) | 122753 |
| 5 | @vanilla-extract/sprinkles (impostor!) | 94666 |
| 6 | pandacss (impostor!) | 51236 |

<!-- responsive-variants -->

<!-- slots -->

| No | Libs | Ops/Sec |
| --- | -------------------- | ------: |
| 1 | @klass/core/slots | 881984 |
| 2 | tailwind-variants | 27860 |
| 3 | pandacss (impostor!) | 24190 |

<!-- slots -->

0 comments on commit cc78793

Please sign in to comment.