Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0
Firefox 81
Ubuntu
Desktop
4 years ago
Test name Executions per second
String.fromCharCode.apply 996.6 Ops/sec
String.fromCharCode 273.4 Ops/sec
bytesToBase64 404.8 Ops/sec
arr join 258.0 Ops/sec
byteArrayToString 759.2 Ops/sec
Script Preparation code:
Tests:
  • String.fromCharCode.apply

  • String.fromCharCode

  • bytesToBase64

  • arr join

  • byteArrayToString