Script Preparation code:
Tests:
  • Math.random

  • crypto API

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Math.random
    crypto API

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:104.0) Gecko/20100101 Firefox/104.0
Firefox 104 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
Math.random 6594126.0 Ops/sec
crypto API 526904.4 Ops/sec