Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Waterfox/91.6.0
Firefox 91
Windows
Desktop
2 years ago
Test name Executions per second
classnames 3007300.2 Ops/sec
clsx (classnames api) 4265388.5 Ops/sec
clsx (objects) 4161154.5 Ops/sec
clsx (arguments) 5058295.5 Ops/sec
clsx (array) 4458569.5 Ops/sec
HTML Preparation code:
Tests:
  • classnames

  • clsx (classnames api)

  • clsx (objects)

  • clsx (arguments)

  • clsx (array)


;