On a hunch I rearranged such that the agents are not recreated for each run, but instead are reused from a pre-established set: http://groups.google.com/group/clojure/web/mt2.2.clj
Strangely (from my understanding of agents) this has a significant impact on the result!!! threads: 1 "Elapsed time: 1447.388146 msecs" "Elapsed time: 117.655457 msecs" "Elapsed time: 247.283942 msecs" threads: 2 "Elapsed time: 2064.69705 msecs" "Elapsed time: 630.112486 msecs" "Elapsed time: 396.592304 msecs" threads: 3 "Elapsed time: 3026.769883 msecs" "Elapsed time: 1188.845789 msecs" "Elapsed time: 634.070252 msecs" threads: 4 "Elapsed time: 4240.550405 msecs" "Elapsed time: 2421.342098 msecs" "Elapsed time: 980.957356 msecs" Note all the tests are scaling up and the second two tests are dramatically faster. o_O --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---