Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
luxon parse datetime vs time interval
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:138.0) Gecko/20100101 Firefox/138.0
Browser:
Firefox 138
Operating system:
Mac OS X 10.15
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
luxon from iso
105753.7 Ops/sec
luxon interval
66308.8 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:
luxon from iso
luxon.DateTime.fromISO(ds).plus({ seconds: 300 }).toISO();
luxon interval
luxon.Interval.fromISO(`${ds}/PT300S`).toISO();