Run details:
Mozilla/5.0 (Linux; Android 7.1.1; Moto G Play) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Mobile Safari/537.36
Chrome Mobile 96
Android 7.1.1
Mobile
3 years ago
Test name Executions per second
String.fromCharCode 149737.4 Ops/sec
TextDecoder 141033.5 Ops/sec
Script Preparation code:
Tests:
  • String.fromCharCode

  • TextDecoder