Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; Touch; rv:11.0) like Gecko
IE 11
Windows
Other
7 years ago
Test name Executions per second
String.fromCharCode.apply 391.2 Ops/sec
String.fromCharCode 86.6 Ops/sec
bytesToBase64 82.3 Ops/sec
Script Preparation code:
Tests:
  • String.fromCharCode.apply

  • String.fromCharCode

  • bytesToBase64

  • arr join

  • byteArrayToString