Run details:
Mozilla/5.0 (Android 13; Mobile; rv:109.0) Gecko/118.0 Firefox/118.0
Firefox Mobile 118
Android
Mobile
one year ago
Test name Executions per second
String.fromCharCode & btoa 1179353.1 Ops/sec
base64ArrayBuffer function 3464384.5 Ops/sec
Script Preparation code:
Tests:
  • String.fromCharCode & btoa

  • base64ArrayBuffer function