DateTime sucks

| | Comments (0)
# of iterations = 100,000
null_time                                            =  0.01s
Time.parse(s)                                        = 22.64s
DateTime.parse(s)                                    = 43.75s
DateTime.civil(*Time.parse(s).to_a.first(6).reverse) = 35.22s

Unless you're doing geology or astronomy... try to stick to Time.

Leave a comment

About this Entry

This page contains a single entry by zenspider published on June 23, 2010 3:12 PM.

ZenTest version 4.3.3 has been released! was the previous entry in this blog.

Autotest Idea is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.32-en