Run details:
Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Firefox/52.0
Firefox 52
Windows XP
Desktop
3 months ago
Test name Executions per second
Math.random() 185686592.0 Ops/sec
random() 10589471.0 Ops/sec
Script Preparation code:
Tests:
  • Math.random()

  • random()


;