Script Preparation code:
Tests:
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: one year ago)
Mozilla/5.0 (iPhone; CPU iPhone OS 18_3_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3.1 Mobile/15E148 Safari/604.1
Mobile Safari 18 on iOS 18.3.2
View result in a separate tab
base64 loop
436K/s
base64
335K/s
string +
305K/s
push values
197K/s
array prototype map
168K/s
directly set
162K/s
buf2hex()
68K/s
precomputed ASCII with shift
44K/s
View exact numbers
Test name Executions per second
base64 loop 436,318 Ops/sec
base64 334,801 Ops/sec
string + 305,060 Ops/sec
push values 196,981 Ops/sec
array prototype map 168,050 Ops/sec
directly set 161,614 Ops/sec
buf2hex() 67,684 Ops/sec
precomputed ASCII with shift 44,177 Ops/sec