Created
January 29, 2015 16:48
-
-
Save lbradstreet/4532cddca2b5ae6e8e07 to your computer and use it in GitHub Desktop.
Boot hello-world startup time
This file contains 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
#!/usr/bin/env boot | |
(require '[clojure.string :refer [join]]) | |
(defn -main [& args] | |
(println (join " " ["hello," "world!"])) | |
(System/exit 0)) | |
./hello.boot 8.64s user 0.46s system 383% cpu 2.375 total | |
2.375s wall clock time. | |
Not ls speed but not going to kill you either. |
Most definitely not going to use it for command line utilities yet. :) Thanks for the benchmark though. I should probably compare it to a JAR and to lein.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Then again if you don't have a quad core machine you're gonna suffer a bit!