Script Preparation code:
Tests:
  • branching if

  • lodash

  • Branchless multiply

  • Ternary clamp

  • min max clamp

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    branching if
    lodash
    Branchless multiply
    Ternary clamp
    min max clamp

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0
Firefox 113 on Windows
View result in a separate tab
Test name Executions per second
branching if 9099643.0 Ops/sec
lodash 812850.1 Ops/sec
Branchless multiply 7307012.5 Ops/sec
Ternary clamp 8204142.5 Ops/sec
min max clamp 7151854.5 Ops/sec