Script Preparation code:
Tests:
  • String.fromCharCode.apply

  • String.fromCharCode

  • bytesToBase64

  • arr join

  • byteArrayToString

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    String.fromCharCode.apply
    String.fromCharCode
    bytesToBase64
    arr join
    byteArrayToString

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0
Firefox 130 on Windows
View result in a separate tab
Test name Executions per second
String.fromCharCode.apply 2581.2 Ops/sec
String.fromCharCode 1004.2 Ops/sec
bytesToBase64 290.0 Ops/sec
arr join 368.3 Ops/sec
byteArrayToString 638.2 Ops/sec


;