HTML Preparation code:
Script Preparation code:
Tests:
  • naive compare

  • Number constructor

  • lodash subtract

  • just subtract

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    naive compare
    Number constructor
    lodash subtract
    just subtract

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15
Safari 17 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
naive compare 3437795.5 Ops/sec
Number constructor 2597060.0 Ops/sec
lodash subtract 3465897.8 Ops/sec
just subtract 6788205.0 Ops/sec


;