JVM is very slow to start. Try measuring around your method calls instead.
Also try running it for a long enough time to see the JVM GC kick the butt of python's GC... On Fri, Jul 8, 2011 at 6:19 PM, Michael Klishin <[email protected] > wrote: > 2011/7/9 Christopher <[email protected]> > >> % time cake run mapper.clj < input.txt >> real 0m3.573s >> user 0m2.031s >> sys 0m1.528s >> > > These numbers include JVM startup overhead (which is significant compared > to Python startup overhead). > > -- > MK > > http://github.com/michaelklishin > http://twitter.com/michaelklishin > > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
