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: 23 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133 on Windows
View result in a separate tab
Test name Executions per second
TextDecoder on Uint8Array 47927.1 Ops/sec
String.fromCharCode on Uint8Array 20650.2 Ops/sec
String.fromCharCode on Array 47104.7 Ops/sec
String.fromCodePoint on Uint8Array 19393.8 Ops/sec
String.fromCodePoint on Array 40818.3 Ops/sec