Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36 OPR/79.0.4143.50
Opera 79
Windows
Desktop
3 years ago
Test name Executions per second
String.fromCharCode 2550766.2 Ops/sec
TextDecoder 2326228.5 Ops/sec
Script Preparation code:
Tests:
  • String.fromCharCode

  • TextDecoder