Tests:
  • Math.random().toString(36).substring(2, 12)

  • Date.now()

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Math.random().toString(36).substring(2, 12)
    Date.now()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (X11; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0
Firefox 127 on Linux
View result in a separate tab
Test name Executions per second
Math.random().toString(36).substring(2, 12) 3948344.0 Ops/sec
Date.now() 852788.4 Ops/sec


;