Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.5000.0 Iron Safari/537.36
Chrome 98
Windows 7
Desktop
one year ago
Test name Executions per second
String.fromCharCode & btoa 536479.4 Ops/sec
base64ArrayBuffer function 1033488.7 Ops/sec
Script Preparation code:
Tests:
  • String.fromCharCode & btoa

  • base64ArrayBuffer function


;