Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0
Chrome 131
Windows
Desktop
one month ago
Test name Executions per second
readUint8() with for loop 2884.2 Ops/sec
slice() with map() 129576.9 Ops/sec
slice() with Array.from() 118332.3 Ops/sec
Tests:
  • readUint8() with for loop

  • slice() with map()

  • slice() with Array.from()