Run details:
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
Windows
Desktop
14 days ago
Test name Executions per second
directly set 2491597.0 Ops/sec
push values 3310311.5 Ops/sec
buf2hex() 1640268.4 Ops/sec
precomputed ASCII with shift 861354.1 Ops/sec
array prototype map 1204383.1 Ops/sec
Script Preparation code:
Tests:
  • directly set

  • push values

  • buf2hex()

  • precomputed ASCII with shift

  • array prototype map