Script Preparation code:
Tests:
  • directly set

  • push values

  • buf2hex()

  • precomputed ASCII with shift

  • array prototype map

  • base64

  • base64 loop

  • string +

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    directly set
    push values
    buf2hex()
    precomputed ASCII with shift
    array prototype map
    base64
    base64 loop
    string +

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 14 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131 on Windows
View result in a separate tab
Test name Executions per second
directly set 1583011.6 Ops/sec
push values 3412300.8 Ops/sec
buf2hex() 1614422.4 Ops/sec
precomputed ASCII with shift 746656.6 Ops/sec
array prototype map 1084929.6 Ops/sec
base64 3421159.0 Ops/sec
base64 loop 4303151.0 Ops/sec
string + 5606879.0 Ops/sec