clojure - Is there anyway to reduce nrepl (ritz-repl) startup time? -


i wasn't using ritz-nrepl before, , nrepl took around 10 sec long still bearable since don't restart often.

when tried out ritz-repl, took 30s boot, , consumes around 1.3g memory. makes me reluctant use it.

i threw in ssd hoping can increase speed, because heard mention "hardly notice lein repl startup time" using ubuntu + ssd. can't tell difference myself between ssd , hdd. don't know if did wrong or if myth.

there might ways reduce startup time of nrepl server includes ritz part stuck @ least 10 seconds takes boot jvm on machine. me kind of unacceptable delay when doing interactive development.

as alternative can use smarter code reloading approach using the clojure.tools.namespace library. keeps dependency graph in memory , reloads namespaces have been changed since last refresh.

this work out of box not clojure code. see the 'preparing application' section of readme more info on edge cases avoid.

hope helps!


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -