Script Preparation code:
Tests:
  • Ternary with Concat

  • Traditional If/Else with Concat

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Ternary with Concat
    Traditional If/Else with Concat

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36
Chrome 50 on Mac OS X 10.11.6
View result in a separate tab
Test name Executions per second
Ternary with Concat 812205.2 Ops/sec
Traditional If/Else with Concat 791233.1 Ops/sec


;