Script Preparation code:
AخA
 
var a = 14543630892.678034;
var b = 23445842646.499996;
Tests:
  • Floor first

     
    Math.min(Math.floor(a), Math.floor(b));
  • Min First

     
    Math.floor(Math.min(a, b));
  • Inline If

     
    Math.floor( a < b ? a : b )
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Floor first
    Min First
    Inline If

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
Chrome 53 on Windows
View result in a separate tab
Test name Executions per second
Floor first 954154.8 Ops/sec
Min First 1294987.1 Ops/sec
Inline If 1454302.9 Ops/sec