Note that there are some explanatory texts on larger screens.

plurals
  1. POAre there any good Clojure benchmarks?
    primarykey
    data
    text
    <p><em>Edit:</em> <strong>The Clojure benchmarks are up on <a href="http://benchmarksgame.alioth.debian.org/u64q/clojure.html" rel="nofollow noreferrer">the Benchmarks Game</a></strong>.</p> <p>I have made this question community wiki and invite others to keep it updated. </p> <hr> <p>Is anyone aware of benchmarks of Clojure's performance? </p> <p>I have done some of my own (although nothing too formal) and it didn't fair too well in comparison to other functional languages (tried Haskell and OCaml). But how does it look compared to Java or another language on the JVM (e.g. Scala)? And how does it compare to other Lisps?</p> <p>There was some <a href="https://alioth.debian.org/forum/forum.php?thread_id=14714&amp;forum_id=999&amp;group_id=30402" rel="nofollow noreferrer">discussion</a> on the <a href="http://benchmarksgame.alioth.debian.org/" rel="nofollow noreferrer">Computer Language Benchmarks Game</a> forum about adding Clojure on there, but nothing has been done yet. </p> <p><em>Edit:</em> I'm going to continue to add to this as I find more:</p> <p>@igouy pointed out that the benchmark scripts for clojure <a href="http://github.com/jafingerhut/clojure-benchmarks" rel="nofollow noreferrer">are being created</a> by jafingerhut on github.</p> <p>Two very relevant threads from the Clojure discussion group:</p> <ul> <li><a href="http://groups.google.com/group/clojure/browse_thread/thread/289904c1a5deb8d8" rel="nofollow noreferrer">Clojure performance tests and clojure a little slower than Java</a></li> <li><a href="http://groups.google.com/group/clojure/browse_thread/thread/a02eacd0ff841474" rel="nofollow noreferrer">Clojure speed</a></li> <li><a href="http://groups.google.com/group/clojure/browse_thread/thread/26518e5bc09a94d8" rel="nofollow noreferrer">Fibonacci function performance compare between clojure and scala</a></li> </ul> <p>And separately, these blog posts:</p> <ul> <li><a href="http://berlinbrowndev.blogspot.com/2009/07/jvm-notebook-basic-clojure-java-and-jvm.html" rel="nofollow noreferrer">Basic Clojure, Java and JVM Language performance</a></li> <li><a href="http://www.bestinclass.dk/index.php/2009/09/scala-vs-clojure-lets-get-down-to-business/" rel="nofollow noreferrer">Scala Vs Clojure — Let’s get down to business</a> and <a href="http://www.bestinclass.dk/index.php/2009/09/scala-vs-clojure-round-2-concurrency/" rel="nofollow noreferrer">Scala vs Clojure — Round 2: Concurrency!</a></li> <li><a href="http://www.bestinclass.dk/index.php/2009/10/python-vs-clojure-evolving/" rel="nofollow noreferrer">Python vs Clojure — Evolving</a> and <a href="http://www.bestinclass.dk/index.php/2009/10/python-vs-clojure-reloaded/" rel="nofollow noreferrer">Python vs Clojure — Reloaded</a></li> <li><a href="http://www.mikeperham.com/2008/12/13/clojure-vs-ruby/" rel="nofollow noreferrer">Clojure vs. Ruby</a></li> <li><a href="http://bc.tech.coop/blog/090113.html" rel="nofollow noreferrer">Clojure Discussion - When Performance Matters</a></li> <li><a href="http://www.bestinclass.dk/index.php/2009/12/clojure-vs-ruby-scala-transient-newsgroups/" rel="nofollow noreferrer">Clojure vs Ruby &amp; Scala — Transient Newsgroups</a></li> </ul> <p>And lastly, a related question on stackoverflow:</p> <ul> <li><a href="https://stackoverflow.com/questions/1506728/on-performance-and-java-interoperability-clojure-vs-scala">On Performance and Java Interoperability: Clojure vs. Scala</a></li> </ul> <p>Most of these discussions lead me to think that Clojure's performance is very favorable in comparison to other languages running on the JVM, although there is no doubt that it can be very difficult to come to a broad conclusion when comparing languages because their performance can vary dramatically dependent on the task.</p> <p><em>Edit:</em></p> <p>Lau Jensen just posted a great discussion about benchmarking with JVM languages on his blog: <a href="http://www.bestinclass.dk/index.php/2010/02/benchmarking-jvm-languages/" rel="nofollow noreferrer">"Getting benchmarking right"</a>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload