Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:125.0) Gecko/20100101 Firefox/125.0
Firefox 125
Mac OS X 10.15
Desktop
8 months ago
Test name Executions per second
String.fromCharCode.apply 3766.5 Ops/sec
String.fromCharCode 1307.0 Ops/sec
bytesToBase64 687.8 Ops/sec
arr join 1740.5 Ops/sec
byteArrayToString 3857.7 Ops/sec
Script Preparation code:
Tests:
  • String.fromCharCode.apply

  • String.fromCharCode

  • bytesToBase64

  • arr join

  • byteArrayToString