Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107
Ubuntu
Desktop
one year ago
Test name Executions per second
String.fromCharCode.apply 2403.2 Ops/sec
String.fromCharCode 962.2 Ops/sec
bytesToBase64 528.6 Ops/sec
arr join 719.8 Ops/sec
byteArrayToString 1703.4 Ops/sec
Script Preparation code:
Tests:
  • String.fromCharCode.apply

  • String.fromCharCode

  • bytesToBase64

  • arr join

  • byteArrayToString


;