Run details:
Mozilla/5.0 (Linux; Android 11) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Mobile Safari/537.36
Chrome Mobile 98
Android
Mobile
2 years ago
Test name Executions per second
String.fromCharCode.apply 627.0 Ops/sec
String.fromCharCode 38.0 Ops/sec
bytesToBase64 71.0 Ops/sec
arr join 35.2 Ops/sec
byteArrayToString 709.9 Ops/sec
Script Preparation code:
Tests:
  • String.fromCharCode.apply

  • String.fromCharCode

  • bytesToBase64

  • arr join

  • byteArrayToString