Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0
Firefox 103
Ubuntu
Desktop
2 years ago
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
HTML Preparation code:
Tests:
  • moment with format

  • moment without format

  • Date.parse

  • new Date