$ time java -jar clojure-1.4.0.jar -e '(println "Hello world")'
Hello world
real 0m4.586s
$ time python clojure.py -c '(py/print "Hello world")'
real 0m14.690s
$ time mono Clojure.Main.exe -e '(println "hello world")'
hello world
real 0m4.843s
/* clojure-metal is not tested due to not being written at the moment */
Clojure的启动时间很少,就像我运行Perl或Python脚本一样?启动时间很慢是底层框架还是Clojure的问题(可以早晚修复)还是设计?任何Clojure实现能够快速启动吗?
注意:我已经知道启动持久服务器而不是连接到它的解决方法。
我的系统上的AOT Clojure的JAR采取只需要1秒 – Ankur 2013-04-10 04:14:46