-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sean O'Bannon
committed
Sep 23, 2022
1 parent
f9fff41
commit 9ad0ef3
Showing
2 changed files
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
We have a list of millions of dates, stored in a database. | ||
|
||
We'd like to convert these dates to a moment object, so we can perform date calculations on them. | ||
|
||
We need the objects to stay in their local timezone, so we're using `moment.parseZone()` to convert them. | ||
|
||
However, we're seeing very long parse times, and we'd like to speed them up. | ||
|
||
We need to improve the performance of `moment.parseZone()`. Let's see if we can do it! | ||
|
||
`benchmarks.js` contains a benchmark suite. | ||
|
||
`index.js` is some example code that we can use outside the context of a benchmark. |
This file was deleted.
Oops, something went wrong.