Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0
Firefox 85
Linux
Desktop
3 years ago
Test name Executions per second
String.fromCharCode.apply 1488.6 Ops/sec
String.fromCharCode 289.8 Ops/sec
bytesToBase64 375.5 Ops/sec
arr join 288.7 Ops/sec
byteArrayToString 1138.6 Ops/sec
Script Preparation code:
Tests:
  • String.fromCharCode.apply

  • String.fromCharCode

  • bytesToBase64

  • arr join

  • byteArrayToString