Test case name | Result |
---|---|
classnames | |
clsx | |
array, filter(Boolean), join | |
array, filter(i => i), join | |
forEach, join | |
forEach, += |
Test name | Executions per second |
---|---|
classnames | 1673788.8 Ops/sec |
clsx | 1951862.2 Ops/sec |
array, filter(Boolean), join | 1485288.5 Ops/sec |
array, filter(i => i), join | 2194563.2 Ops/sec |
forEach, join | 2430652.8 Ops/sec |
forEach, += | 2842670.2 Ops/sec |