Sorry for the quad-post, but I just noticed:
http://groups.google.com/group/clojure/browse_thread/thread/6ac273446b4a7183
And actually that is what made the big difference in performance (I'd
done a svn update for something unrelated).
So I guess two mysteries solved with one patch!
Boris I suggest you try to re-run your test on your quad-core with the
latest SVN, as I don't think my laptop is really representative.


On Jan 17, 1:20 am, Timothy Pratley <timothyprat...@gmail.com> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to