Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36/1ghD7CpK-01
Chrome 98
Windows 7
Desktop
2 years ago
Test name Executions per second
map() 5796370.5 Ops/sec
JSON.stringify() 265423.1 Ops/sec
ForLoop 679409.0 Ops/sec
Script Preparation code:
Tests:
  • map()

  • JSON.stringify()

  • ForLoop