Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.from()
    new TextDecoder()
    new Uint8Array()
    new TextEncoder()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Chrome 137 on Windows
View result in a separate tab
new Uint8Array()
890K/s
new TextDecoder()
530K/s
new TextEncoder()
244K/s
Array.from()
65K/s
View exact numbers
Test name Executions per second
new Uint8Array() 889,584 Ops/sec
new TextDecoder() 529,903 Ops/sec
new TextEncoder() 244,277 Ops/sec
Array.from() 65,273 Ops/sec