elasticmagic icon indicating copy to clipboard operation
elasticmagic copied to clipboard

Replace dateutil package with ciso8601

Open seedofjoy opened this issue 5 years ago • 1 comments

Parsing datetime by dateutil is pretty slow. On my machine parsing 100 datetime's = 16ms, which its quite long.

ciso8601 is written as C module and 600x more faster than dateutil (https://github.com/closeio/ciso8601#benchmark)

What about replace dateutil with ciso8601? I can make MR

seedofjoy avatar Jan 31 '20 21:01 seedofjoy

You're welcome. My only opinion it should be an optional dependency.

anti-social avatar Feb 03 '20 13:02 anti-social