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 2811.8 Ops/sec
slice() with map() 128871.6 Ops/sec
slice() with Array.from() 109847.4 Ops/sec
Tests:
  • readUint8() with for loop

  • slice() with map()

  • slice() with Array.from()