有什么好的Clojure基准

有什么好的Clojure基准

本文介绍了有什么好的Clojure基准?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

编辑 Clojure基准已在

The Clojure benchmarks are up on the Benchmarks Game.

我已经提出这个问题社区维基并邀请其他人保持更新。

I have made this question community wiki and invite others to keep it updated.

有人知道Clojure的性能基准吗?

Is anyone aware of benchmarks of Clojure's performance?

我已经做了一些自己的(虽然没有什么太正式),它与其他功能语言(尝试Haskell和OCaml)不太公平太好。但是,与Java或JVM上的另一种语言(例如Scala)相比,它是如何看起来的?

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?

有一些语言基准游戏论坛上关于添加Clojure,但还没有完成。

There was some discussion on the Computer Language Benchmarks Game forum about adding Clojure on there, but nothing has been done yet.

编辑:我会继续添加到这里,因为我找到更多:

I'm going to continue to add to this as I find more:

@igouy指出,jafingerhut正在创建clojure的基准脚本



    • Clojure performance tests and clojure a little slower than Java
    • Clojure speed
    • Fibonacci function performance compare between clojure and scala

    另外,这些博客帖子:








    • Basic Clojure, Java and JVM Language performance
    • Scala Vs Clojure — Let’s get down to business and Scala vs Clojure — Round 2: Concurrency!
    • Python vs Clojure — Evolving and Python vs Clojure — Reloaded
    • Clojure vs. Ruby
    • Clojure Discussion - When Performance Matters
    • Clojure vs Ruby & Scala — Transient Newsgroups

    最后,关于stackoverflow的相关问题:

    And lastly, a related question on stackoverflow:



    • On Performance and Java Interoperability: Clojure vs. Scala

    大多数讨论让我认为Clojure的性能非常有利其他语言运行在JVM上,尽管毫无疑问,在比较语言时可能很难得出广泛的结论,因为它们的性能可能随任务而显着变化。

    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.

    编辑:

    Lau Jensen在他的博客上发表了一篇有关使用JVM语言进行基准测试的大讨论:。

    Lau Jensen just posted a great discussion about benchmarking with JVM languages on his blog: "Getting benchmarking right".

    推荐答案

    请参阅 jafingerhut / clojure-benchmarks

    iirc 当前clojure实现没有关注性能,但下一个版本将会。

    iirc the current clojure implementation has not been focussed on performance, but the next version supposedly will.

    这篇关于有什么好的Clojure基准?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

    08-15 21:48