On Aug 25, 6:17 am, John Fingerhut <andy.finger...@gmail.com> wrote: > I will try submitting one or a few of my benchmark programs created 1 year > ago. > > For anyone that wants to look at some timing results and/or my source code > used to achieve them before then, they are available on github here: > > http://github.com/jafingerhut/clojure-benchmarks > > I just pushed a few changes required for Clojure 1.2 about 10 minutes ago. > There aren't many changes to the results from Clojure 1.1 alpha I tested > against a year ago, except for the following -- note that besides updating > my Clojure version since last time, I have also upgraded the version of OS X > on my Mac, and the version of Java from Apple. I have not attempted to test > these changes independently to see which one or ones caused the change in > run time: > > k-nucleotide benchmark completed in about 2/3 the time of earlier runs > (good) > mandelbrot also runs in about 2/3 the time of before > n-body takes about 5x longer than before. I do not know why. > > As always, improvements to my versions are welcome. I am pretty sure some > people have posted programs they have worked on for these problems during > the most recent 1 year to the group, but I'm sorry to say I haven't kept up > with all of them to see if they are faster than my fastest versions. > > Andy
1) The command line requested for these first programs doesn't AOT compile so the measured time includes compiling the program. Perhaps AOT compilation is an usual way to use Clojure - or perhaps it would be better to show programs that used AOT compilation? http://groups.google.com/group/clojure/browse_thread/thread/e9902e30afbb805e 2) mandelbrot - There seems to be some problem with the mandelbrot program - the program doesn't seem to exit for perhaps a minute after the output file is created - see the difference between "CPU secs" and "Elapsed secs". http://shootout.alioth.debian.org/u32q/program.php?test=mandelbrot&lang=clojure&id=1 3) regexdna http://shootout.alioth.debian.org/u32q/program.php?test=regexdna&lang=clojure&id=1 -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en