HTML Preparation code:
Script Preparation code:
Tests:
  • classnames string

  • clsx string

  • classnames real case

  • clsx real case

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    classnames string
    clsx string
    classnames real case
    clsx real case

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0
Firefox 106 on Windows
View result in a separate tab
Test name Executions per second
classnames string 2349580.8 Ops/sec
clsx string 4772232.5 Ops/sec
classnames real case 3956335.0 Ops/sec
clsx real case 4989658.0 Ops/sec