Hi,

I did not mention that earlier but the benchmark sais no change in
heapsize.

See here:
http://shootout.alioth.debian.org/u32/performance.php?test=binarytrees

Does Clojure just have a much smaller heapsize in the standart case?


On Mar 15, 5:19 am, Andy Fingerhut <andy.finger...@gmail.com> wrote:
> On a MacBook Pro with 2.4 GHz Intel Core 2 Duo and 3 GB of RAM (although the 
> program only used about half a gig at most), that program finished in about 
> 33 seconds, using 38.5 sec of user + system CPU time.  The average CPU 
> utilization was 126% (all of one CPU core, and 26% of another, on average).  
> The CPU utilization never went below 90% of one CPU core.
>
> From the memory use graph you link to, the memory use never goes over about 
> 128 MB.  I would bet that is the default maximum heap size in your JVM, or 
> perhaps one specified explicitly.  That is likely not enough, and your 
> program is causing the JVM to invoke garbage collection repeatedly.
>
> I'd recommend using a -Xmx512m argument on the command line, or maybe a bit 
> more, and see if things speed up.
>
> Andy
>
> On Mar 14, 2011, at 6:25 PM, Nick Zbinden wrote:
>
> > Hi,
>
> > I'm working with binarytree benchmark from the Language Shotout.
> >http://shootout.alioth.debian.org/u64/program.php?test=binarytrees&la...
>
> > Its basiclly a port from the java version.
> >http://shootout.alioth.debian.org/u64/program.php?test=binarytrees&la...
>
> > The Problem with the Clojure version you can see here:
> >https://github.com/nickik/IDPA-Programmiersprachen-Benchmarken/blob/m...
> >https://github.com/nickik/IDPA-Programmiersprachen-Benchmarken/blob/m...
>
> > Clojure does not use the CPU to the full extened witch suggest that
> > there something blocking it. I tried to figure out what it was with
> > profiling but I never did that befor and I had no success.
>
> > Node that the Clojure uses less memory too.
> >https://github.com/nickik/IDPA-Programmiersprachen-Benchmarken/blob/m...
>
> > Has anybody an Idea why this happens?
>
> > I ported the programm to 1.3 but that didn't help:
>
> > 1.2 version:  
> > https://github.com/nickik/IDPA-Programmiersprachen-Benchmarken/blob/m...
>
> > 1.3 
> > version:https://github.com/nickik/IDPA-Programmiersprachen-Benchmarken/blob/m...
> > (all the benchmarks where made with the 1.2er programm)
>
> > thx for the help
>
> > --
> > 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
>
>

-- 
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

Reply via email to