Run details:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114
Chrome OS 14541.0.0
Desktop
one year ago
Test name Executions per second
String.fromCharCode 1351409.1 Ops/sec
TextDecoder 953489.2 Ops/sec
Script Preparation code:
Tests:
  • String.fromCharCode

  • TextDecoder