Hi,

I'm working with binarytree benchmark from the Language Shotout.
http://shootout.alioth.debian.org/u64/program.php?test=binarytrees&lang=clojure&id=5

Its basiclly a port from the java version.
http://shootout.alioth.debian.org/u64/program.php?test=binarytrees&lang=java&id=2

The Problem with the Clojure version you can see here:
https://github.com/nickik/IDPA-Programmiersprachen-Benchmarken/blob/master/maindoku/bilder/AverageCPUAll.png
https://github.com/nickik/IDPA-Programmiersprachen-Benchmarken/blob/master/maindoku/bilder/CPUAll.png

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/master/maindoku/bilder/MemoryAll.png

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/master/clojure/src/bt/binarytrees.clj

1.3 version: 
https://github.com/nickik/IDPA-Programmiersprachen-Benchmarken/blob/master/clojure/src/bt/binarytrees_me.clj
(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

Reply via email to