In corrispondance with the author of Date::Tie, a few benchmarks were passed around (by him). The conclusion is that when compared to DateTime, Date::Tie is considerably faster. My suspicions were correct when it was discovered that Time::Piece was considerably faster than Date::Tie.
Even so, way to go Date::Tie for beating DateTime. I fell victim to the default expectation that anything tied is slow. While that holds true, tied interfaces aren't always the slowest, so do your benchmarking.
Posted from caseywest.com, comment here.
Funny... (Score:2)
I'm not sure that performance is that critical - it's probably in the thousands of operations per second region. And DateTime buys you so much - a unified base class with support for decimal second values and dates outside the 1970-2038 region.
Um, but is it correct and/or useful (Score:2)
There are a number of things DateTime does that literally no other Perl date/time module can do. If you need any of them, then you probably are stuck with DateTime
Note that the author of Date::Tie is also a major contributor the DateTime project as well.