anti-social / elasticmagic

Python DSL for Elasticsearch
Apache License 2.0
25 stars 13 forks source link

Replace dateutil package with ciso8601 #56

Open seedofjoy opened 4 years ago

seedofjoy commented 4 years ago

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

anti-social commented 4 years ago

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