Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
js vs luxon iso, milli, date
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Browser:
Chrome 142
Operating system:
Mac OS X 10.15.7
Device Platform:
Desktop
Date tested:
10 months ago
Benchmark engine:
Benchmark.js
js date
12.8M/s
luxon from Milli
5.0M/s
luxon from JSDate
4.5M/s
luxon
978K/s
View exact numbers
Test name
Executions per second
✓
js date
12,811,099 Ops/sec
luxon from Milli
4,984,126 Ops/sec
luxon from JSDate
4,515,836 Ops/sec
luxon
977,666 Ops/sec
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/npm/luxon@1.26.0/build/global/luxon.min.js"></script>
Script Preparation code:
window.ds = "2020-02-19T00:51:53.623839+00:00";
Tests:
js date
new Date(window.ds)
luxon
luxon.DateTime.fromISO(ds);
luxon from Milli
luxon.DateTime.fromMillis(new Date(ds).getTime());
luxon from JSDate
luxon.DateTime.fromJSDate(new Date(ds));