Created
September 26, 2012 22:58
-
-
Save pcarrier/3791173 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% <hello.clj; time java -jar /usr/share/clojure/clojure.jar hello.clj; time java -XX:+TieredCompilation -Xbootclasspath/a:/usr/share/clojure/clojure.jar clojure.main hello.clj; time java -jar /usr/share/clojure/clojure.jar hello.clj; time java -XX:+TieredCompilation -Xbootclasspath/a:/usr/share/clojure/clojure.jar clojure.main hello.clj | |
(println "hello world") | |
hello world | |
java -jar /usr/share/clojure/clojure.jar hello.clj 1.17s user 0.22s system 134% cpu 1.038 total | |
hello world | |
java -XX:+TieredCompilation -Xbootclasspath/a:/usr/share/clojure/clojure.jar 0.72s user 0.03s system 178% cpu 0.420 total | |
hello world | |
java -jar /usr/share/clojure/clojure.jar hello.clj 1.14s user 0.21s system 132% cpu 1.012 total | |
hello world | |
java -XX:+TieredCompilation -Xbootclasspath/a:/usr/share/clojure/clojure.jar 0.68s user 0.04s system 180% cpu 0.395 total |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment