boot-clj / boot-clj/boot

Can startup time be improved?

Open
#106 7 comments 0 reactions 0 assignees View on GitHub
Enhancement help wanted
Dominant language
Clojure
Stars
1.7k
Forks
178
PR merge metrics
No merged PRs in 30d

Description

I understand that this is a hard problem, and that Leiningen isn't any better at this, but I think the major deal-breaker for using boot CLI scripts is the SLOW startup time. I've tried using tools like [drip](https://github.com/ninjudd/drip) to help improve this, but drip doesn't help at all since the main source of the slowdown is not JVM startup time but loading the Clojure jars. I wrote a persistent REPL tool called [quick-clojure](https://github.com/benwbooth/quick-clojure) to try and deal with this, but running on a cached JVM has its own set of issues. I have no idea how to solve this, but I thought it was worth bringing up.

Contributor guide

Open the contributing guide

Research direction

Start with the boot CLI startup path and compare the reported slowdown from loading Clojure jars against JVM startup, using the linked drip and quick-clojure experiments as context. Define a measurable startup-time target and identify a reproducible benchmark; done requires an agreed approach and evidence that startup improves without the cached-JVM issues described.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.