Re: Improving Clojure startup time with -Xbootclasspath

2009-11-23 Thread Armando Blancas
I added the contrib lib expecting it to fail but it worked, and loaded (in half the usual time) some code from the user.clj as well: >java -Xbootclasspath/a:clojure\clojure.jar;clojure-contrib\clojure-contrib.jar >clojure.main Clojure 1.1.0-alpha-SNAPSHOT user=> I had been reading in this paper:

Re: Improving Clojure startup time with -Xbootclasspath

2009-11-23 Thread Meikel Brandmeyer
Hi, On Nov 23, 9:57 am, Dmitry Ulanov wrote: > Very interesting tip! Also, like vimclojure, you can run nailgun > (http://martiansoftware.com/nailgun/background.html) locally or on your > server via ssh. I'd also like to mention clj-server: http://github.com/Neronus/clj-server. Sincerely Meik

Re: Improving Clojure startup time with -Xbootclasspath

2009-11-23 Thread Dmitry Ulanov
Very interesting tip! Also, like vimclojure, you can run nailgun ( http://martiansoftware.com/nailgun/background.html) locally or on your server via ssh. On Mon, Nov 23, 2009 at 5:07 AM, Alex Osborne wrote: > We were discussing Clojure startup time (in the context of Leiningen) > and Phil Hagelb

Improving Clojure startup time with -Xbootclasspath

2009-11-22 Thread Alex Osborne
We were discussing Clojure startup time (in the context of Leiningen) and Phil Hagelberg asked some JRuby people about startup time. They suggested using -Xbootclasspath. Check this out: % time (echo | java -client -cp clojure.jar clojure.main) 0.84s user 0.04s system 96% cpu 0.908 total % ti