forEach vs Spread 2021

one month ago
User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36
Test name Executions per second
forEach 23683440.0 Ops/sec
Spread 14622360.0 Ops/sec
Tests:
  • forEach

  • Spread

Open this result on MeasureThat.net