Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/114.0
Firefox 114
Ubuntu
Desktop
one year ago
Test name Executions per second
String.fromCharCode 3107789.0 Ops/sec
TextDecoder 4771096.5 Ops/sec
Script Preparation code:
Tests:
  • String.fromCharCode

  • TextDecoder