On Thu, Jul 19, 2012 at 7:09 AM, David Nolen <dnolen.li...@gmail.com> wrote: > On Wed, Jul 18, 2012 at 10:12 PM, Richard Lyman <richard.ly...@gmail.com> > wrote: >> All, >> >> There's not much code, and (sadly) not much documentation, but what's >> there needs some performance love. >> >> https://github.com/richard-lyman/amotoen >> >> Notes: >> - jvisualvm doesn't like me this week so help there might be enough >> (I can't see anything other than clojure classes - I'd love to only >> see my code) > > Have you tried profiling with YourKit? They allow free usage for open > source projects. > > David
YourKit was fantastic!! I especially loved the 'Hot Spots' functionality--it led me right to the problems. I've sped up Amotoen by several orders of magnitude on some of my tests... I'm into the mid-twenty milliseconds on my self-check. It's funny... I didn't believe it was that much faster - I had to step in and verify that it was still creating the structures it needed to instead of just bailing on an error or something. Turns out that ref and dosync are *really* expensive. I always knew there was a hit, but I never realized how much 'till now. Thanks! -Rich -- 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