Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
MomentJS VS Date222
(version: 1)
Comparing performance of:
MomentJS vs Date JS
Created:
28 days ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/npm/moment@2.29.4/moment.min.js"></script>
Script Preparation code:
var unix = 1724409214;
Tests:
MomentJS
moment(new Date()).locale('en-us')
Date JS
const originalDate = new Date(); const newDate = new Date(originalDate.getTime()); newDate.setMinutes(newDate.getMinutes() + 5); newDate.toISOString().slice(0, -11)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
MomentJS
Date JS
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
28 days ago
)
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
Browser/OS:
Chrome 146 on Mac OS X 10.15.7
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
MomentJS
1583696.2 Ops/sec
Date JS
1233640.8 Ops/sec
Related benchmarks:
Date vs moment with compare
Moment@2.29
Moment@2.30
MomentJS VS Date
MomentJS VS Date - ttlSec
MomentJS VS Date VS Date-Fns - getRoundedDate
MomentJS VS Date VS Date-Fns - ttlSec
MomentJS VS Date VS Date-Fns - getRoundedDate #2
Date JS VS Date-Fns VS MomentJS - startOfDay
Comments
Confirm delete:
Do you really want to delete benchmark?