Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0
Firefox 83
Ubuntu
Desktop
4 years ago
Test name Executions per second
String.fromCharCode.apply 1020.0 Ops/sec
String.fromCharCode 288.8 Ops/sec
bytesToBase64 356.0 Ops/sec
arr join 267.9 Ops/sec
byteArrayToString 801.4 Ops/sec
Script Preparation code:
Tests:
  • String.fromCharCode.apply

  • String.fromCharCode

  • bytesToBase64

  • arr join

  • byteArrayToString