When using lein run, I get the following measurements:
 1 threads took   50292 milliseconds
 2 threads took   28797 milliseconds
 4 threads took   19531 milliseconds
 6 threads took   16973 milliseconds
 7 threads took   15761 milliseconds
 8 threads took   15071 milliseconds

While if I use lein uberjar && java -jar ..., I get:
 1 threads took   11983 milliseconds
 2 threads took    5778 milliseconds
 4 threads took    3102 milliseconds
 6 threads took    2500 milliseconds
 7 threads took    2288 milliseconds
 8 threads took    2319 milliseconds

​Why is lein run so much slower?

By the way: Leiningen is really a good tool. Only for that you could switch
to Clojure. ;-)​



​And another question: how would I ​
​call the normal jar? Because when I do not distribute ​
​the jar, it pays not to make the standalone jar. 33K or 3.5M is quite a
difference.​


-- 
Cecil Westerhof

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to