Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0
Firefox 66
Windows
Desktop
5 years ago
Test name Executions per second
Store values in consts first 48535796.0 Ops/sec
Store values in consts first (arranged) 45346136.0 Ops/sec
Access values directly 28260774.0 Ops/sec
Store values in consts first (arranged2) 45760780.0 Ops/sec
Store values in consts first (arranged3) 46891028.0 Ops/sec
Store values in consts first (arranged4) 47522584.0 Ops/sec
Store values in consts first (arranged5) 45153316.0 Ops/sec
Script Preparation code:
Tests:
  • Store values in consts first

  • Store values in consts first (arranged)

  • Access values directly

  • Store values in consts first (arranged2)

  • Store values in consts first (arranged3)

  • Store values in consts first (arranged4)

  • Store values in consts first (arranged5)


;