Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
overhead caused by moment
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Browser:
Chrome 131
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
Benchmark engine:
Benchmark.js
nothing
225.9M/s
with date
8.5M/s
with moment
246K/s
View exact numbers
Test name
Executions per second
✓
nothing
225,877,456 Ops/sec
with date
8,501,019 Ops/sec
with moment
246,141 Ops/sec
HTML Preparation code:
<script src='https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.0/moment.min.js'></script>
Script Preparation code:
for(i=0; i<100000; i++){}
Tests:
with moment
moment("2020-01-29T06:30:00.000Z")
with date
new Date("2020-01-29T06:30:00.000Z")
nothing
2> 1