Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flamrdevs/klass-benchmark
klass benchmark
https://github.com/flamrdevs/klass-benchmark
benchmark klass
Last synced: about 2 months ago
JSON representation
klass benchmark
- Host: GitHub
- URL: https://github.com/flamrdevs/klass-benchmark
- Owner: flamrdevs
- License: mit
- Created: 2023-07-24T06:10:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-05T22:50:46.000Z (9 months ago)
- Last Synced: 2024-04-05T23:33:53.193Z (9 months ago)
- Topics: benchmark, klass
- Language: TypeScript
- Homepage:
- Size: 699 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Klass Benchmark
Benchmark of the [Klass](https://github.com/flamrdevs/klass) library
## Benchmarks
> [!NOTE]
>
> 🔹 => with tailwind-merge
>
> 🔸 => irrelevant library### Variants + Base
| No | Libs | Ops/Sec |
| :-- | :-------------------------- | ------: |
| 1 | @klass/core | 1794430 |
| 2 | @klass/core 🔹 | 1222792 |
| 3 | classname-variants | 1035368 |
| 4 | onno | 740696 |
| 5 | @pandacss/styled-system 🔸 | 574567 |
| 6 | @vanilla-extract/recipes 🔸 | 415344 |
| 7 | tailwind-variants | 347789 |
| 8 | tailwind-variants 🔹 | 333226 |
| 9 | cva 🔹 | 280819 |
| 10 | cva | 273300 |
| 11 | @stitches/core 🔸 | 139358 |### Variants + Base + Defaults
| No | Libs | Ops/Sec |
| :-- | :-------------------------- | ------: |
| 1 | @klass/core 🔹 | 1662234 |
| 2 | @klass/core | 1496557 |
| 3 | classname-variants | 1135202 |
| 4 | @pandacss/styled-system 🔸 | 798964 |
| 5 | onno | 701390 |
| 6 | tailwind-variants | 365457 |
| 7 | tailwind-variants 🔹 | 315153 |
| 8 | @vanilla-extract/recipes 🔸 | 314992 |
| 9 | cva | 292086 |
| 10 | cva 🔹 | 238739 |
| 11 | @stitches/core 🔸 | 148696 |### Variants + Base + Defaults + Compounds
| No | Libs | Ops/Sec |
| :-- | :-------------------------- | ------: |
| 1 | @klass/core 🔹 | 1057842 |
| 2 | @klass/core | 805710 |
| 3 | @pandacss/styled-system 🔸 | 779654 |
| 4 | onno | 644263 |
| 5 | classname-variants | 606987 |
| 6 | @vanilla-extract/recipes 🔸 | 332692 |
| 7 | cva | 198476 |
| 8 | cva 🔹 | 165769 |
| 9 | tailwind-variants 🔹 | 134677 |
| 10 | tailwind-variants | 133813 |
| 11 | @stitches/core 🔸 | 112003 |### Responsive Variants
| No | Libs | Ops/Sec |
| :-- | :---------------------------- | ------: |
| 1 | @klass/core | 786188 |
| 2 | @pandacss/styled-system 🔸 | 617535 |
| 3 | @vanilla-extract/sprinkles 🔸 | 134731 |
| 4 | tailwind-variants | 130598 |
| 5 | @stitches/core 🔸 | 88019 |### Slots
| No | Libs | Ops/Sec |
| :-- | :---------------- | ------: |
| 1 | @klass/core | 456741 |
| 2 | tailwind-variants | 146074 |