Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Chrome 108
Mac OS X 10.13.0
Desktop
one year ago
Test name Executions per second
map() 7366178.5 Ops/sec
JSON.stringify() 343738.1 Ops/sec
ForLoop 947118.5 Ops/sec
Script Preparation code:
Tests:
  • map()

  • JSON.stringify()

  • ForLoop