Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    String.fromCharCode & btoa
    base64ArrayBuffer function

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 14 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36 OPR/132.0.0.0
Opera 132 on Mac OS X 10.15.7
View result in a separate tab
String.fromCharCode & btoa
619K/s
base64ArrayBuffer function
387K/s
View exact numbers
Test name Executions per second
String.fromCharCode & btoa 618,852 Ops/sec
base64ArrayBuffer function 387,440 Ops/sec