Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0
Firefox 96
Ubuntu
Desktop
2 years ago
Test name Executions per second
String.fromCharCode.apply 1620.8 Ops/sec
String.fromCharCode 285.9 Ops/sec
bytesToBase64 230.3 Ops/sec
arr join 253.9 Ops/sec
byteArrayToString 1182.2 Ops/sec
Script Preparation code:
Tests:
  • String.fromCharCode.apply

  • String.fromCharCode

  • bytesToBase64

  • arr join

  • byteArrayToString