Script Preparation code:
Tests:
  • TextDecoder on Uint8Array

  • String.fromCharCode on Uint8Array

  • String.fromCharCode on Array

  • String.fromCodePoint on Uint8Array

  • String.fromCodePoint on Array

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    TextDecoder on Uint8Array
    String.fromCharCode on Uint8Array
    String.fromCharCode on Array
    String.fromCodePoint on Uint8Array
    String.fromCodePoint on Array

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Chrome 123 on Linux
View result in a separate tab
Test name Executions per second
TextDecoder on Uint8Array 9725.1 Ops/sec
String.fromCharCode on Uint8Array 17383.7 Ops/sec
String.fromCharCode on Array 55075.2 Ops/sec
String.fromCodePoint on Uint8Array 7385.9 Ops/sec
String.fromCodePoint on Array 9013.2 Ops/sec