Script Preparation code:
AخA
 
var a=Array.from({length:100},()=>Math.random())
Tests:
  • sort

     
    let b = a.sort()
    b[0]
  • reduce

     
    a.reduce((a,c) => a < c ? a : c)
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    sort
    reduce

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 OPR/90.0.4480.100
Opera 90 on Windows
View result in a separate tab
Test name Executions per second
sort 145403.0 Ops/sec
reduce 4061070.0 Ops/sec