Skip to content

Instantly share code, notes, and snippets.

@lbradstreet
Created January 29, 2015 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lbradstreet/4532cddca2b5ae6e8e07 to your computer and use it in GitHub Desktop.
Save lbradstreet/4532cddca2b5ae6e8e07 to your computer and use it in GitHub Desktop.
Boot hello-world startup time
#!/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.
@lbradstreet
Copy link
Author

Then again if you don't have a quad core machine you're gonna suffer a bit!

@thirteen37
Copy link

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