HTML Preparation code:
Tests:
  • moment with format

  • moment without format

  • Date.parse

  • new Date

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    moment with format
    moment without format
    Date.parse
    new Date

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0
Firefox 103 on Ubuntu
View result in a separate tab
Test name Executions per second
moment with format 22478.5 Ops/sec
moment without format 17200.4 Ops/sec
Date.parse 333522.1 Ops/sec
new Date 390629.3 Ops/sec