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

  • slice() with map()

  • slice() with Array.from()