Tests:
  • int comparison

    AخA
     
    const a = 1582804062513
    const b = 1592804062513
    const c = b & a
  • string compare with locale

     
    const a = "1582804062513_note"
    const b = "1592804062513_note"
    const c = `${a}-${b}`
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    int comparison
    string compare with locale

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36
Chrome 113 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
int comparison 2098892416.0 Ops/sec
string compare with locale 2109177600.0 Ops/sec