Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0
Firefox 123
Linux
Desktop
9 months ago
Test name Executions per second
map 3747553.5 Ops/sec
forEach/push 3259020.8 Ops/sec
inplace for 493051.8 Ops/sec
Script Preparation code:
Tests:
  • map

  • forEach/push

  • inplace for