Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

another small date format lib #4

Closed
leeoniya opened this issue Feb 8, 2019 · 1 comment
Closed

another small date format lib #4

leeoniya opened this issue Feb 8, 2019 · 1 comment

Comments

@leeoniya
Copy link

leeoniya commented Feb 8, 2019

hey @lukeed

here's an oldie but goodie. this has been my goto for a long time. might be worth adding as alternative & benching :)

http://blog.stevenlevithan.com/archives/date-time-format

@lukeed
Copy link
Owner

lukeed commented Feb 8, 2019

Hey @leeoniya, thanks!

I think this is the first JS lib in article-format I've seen in yearrrrrs 😆

Here are the results – I don't really think I should be committing the code since it's not mine (or easily accessible on npm), but I can if you think it's important

tinydate           x  162,809,047 ops/sec ±0.24% (95 runs sampled)
tinytime           x   44,159,145 ops/sec ±0.26% (95 runs sampled)
time-stamp         x      860,051 ops/sec ±1.24% (89 runs sampled)
date-time-format   x      197,892 ops/sec ±0.74% (92 runs sampled)

@lukeed lukeed closed this as completed Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants