Re: Clojure Start-up Time

2017-12-23 Thread Alex Miller
The server ticket I linked has a patch that avoids the server initialization if you’re not using it. The original work should have been better factored (I’m to blame on that one), so it’s a bigger change than just conditional load. The refer one avoids a ton of work, but it’s a small factor in t

Re: Clojure Start-up Time

2017-12-23 Thread Nathan Fisher
Thanks Alex! Agreed I don’t think there is any easy quick win aside from putting a conditional around the server section that’s controlled by an environment variable. There might be some optimisations that could be done by front loading classes, similar to a prefetch in HTTP. Class loads from jar