Script Preparation code:
Tests:
  • String.fromCharCode

  • TextDecoder

  • TextDecoder plus array

  • TextDecoder plus constructor and array

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    String.fromCharCode
    TextDecoder
    TextDecoder plus array
    TextDecoder plus constructor and array

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Chrome 118 on Linux
View result in a separate tab
Test name Executions per second
String.fromCharCode 3769310.2 Ops/sec
TextDecoder 2846975.5 Ops/sec
TextDecoder plus array 865611.3 Ops/sec
TextDecoder plus constructor and array 594243.6 Ops/sec