Classnames (2.3.2) vs CLSX (2.0.0) vs Alternatives (version: 0)
Compare CLSX vs Classnames vs an own implementation of creating a template string
Comparing performance of: classnames vs clsx vs Array based vs String based (return struct) vs String based (if-else struct) vs Entries, filter, map, join
Memory measurements supported only in Chrome.
For precise memory measurements Chrome must be launched with --enable-precise-memory-info flag.
More information: Monitoring JavaScript Memory
Test case name
Result
classnames
clsx
Array based
String based (return struct)
String based (if-else struct)
Entries, filter, map, join
Fastest:N/A
Slowest:N/A
ⓘGet performance results from real users on your website with Request Metrics.
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one to run it!