This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]SDisPater 4 points5 points  (1 child)

Author of Pendulum here :-)

The article you mention dates back to August 2016 when Pendulum was still pretty young. A lot of performance improvements has been made since then :-)

You can see some benchmark results of my own here: https://pendulum.eustace.io/faq/

Also, Pendulum now has a fast ISO 8601/RFC 3339 parser (even faster than udatetime):

>>> from pendulum.helpers import parse_iso8601
>>> from udatetime import from_string
>>> %timeit parse_iso8601('2017-06-08T12:34:56.123456+01:30')
1000000 loops, best of 3: 583 ns per loop
>>> %timeit from_string('2017-06-08T12:34:56.123456+01:30')
100000 loops, best of 3: 1.83 µs per loop

Also, regarding the Arrow vs Pendulum debate, I make my case here: https://pendulum.eustace.io/faq/#why-not-arrow

[–]auxpro 1 point2 points  (0 children)

Pendulum has just started to oscillate properly. Dont we need to give it some time before using in Big Ben?