Script Preparation code:
Tests:
  • Date.now() + (Math.random() + '').substr(2)

  • Date.now().toString(36) + Math.random().toString(36).substr(2)

  • Date.now() + '' + Math.random()

  • Date.now().toString() + Math.random().toString()

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Date.now() + (Math.random() + '').substr(2)
    Date.now().toString(36) + Math.random().toString(36).substr(2)
    Date.now() + '' + Math.random()
    Date.now().toString() + Math.random().toString()

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:

No previous run results

This benchmark does not have any results yet. Be the first one to run it!