Tests:
  • readUint8() with for loop

  • slice() with map()

  • slice() with Array.from()

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    readUint8() with for loop
    slice() with map()
    slice() with Array.from()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Mobile Safari/537.36
Chrome Mobile 128 on Android
View result in a separate tab
Test name Executions per second
readUint8() with for loop 3108.7 Ops/sec
slice() with map() 142283.5 Ops/sec
slice() with Array.from() 113012.0 Ops/sec


;