Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4297.0 Safari/537.36
Chrome 88
Mac OS X 10.14.6
Desktop
4 years ago
Test name Executions per second
reduce 658890.9 Ops/sec
clone & delete 974266.9 Ops/sec
foreach 1250171.1 Ops/sec
for in, indexOf 426542.4 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • clone & delete

  • foreach

  • for in, indexOf