Closed FiV0 closed 2 months ago
Hi @FiV0, that part of the JDK that we're using is slow.
I plan to replace it with https://github.com/clojure-emacs/orchard/issues/211 over the next couple months.
Normally what's happening in your machine is that some caches are warming up. Once that is done, it should get back to normal.
Cheers - V
Normally what's happening in your machine is that some caches are warming up. Once that is done, it should get back to normal.
I see this behaviour not over a couple of seconds or minutes, but longer periods. You still think this is some cache warming up?
Yes
If you are using enrich-classpath, you can disable it for preventing Orchard from having access to the things that are necessary for cache building.
That also can be done in a per-project manner with .dir-locals.el
Feel free to continue the conversation.
I am seeing that some thread is taking a lot of time at
orchard.java.parser_utils$parse_java.invokeStatic(parser_utils.clj:47)
. I don't know exactly what triggers it, but the stacktrace goes through some nrepl.middleware. I am doing profiling and the stacktrace (included at the bottom) is making up over 50% of my profiles which seems quite off. We have a bit of a weird setup withgradle
andclojurephant
which you can find here. This doesn't seem to happen every time I jack in, but more sporadically. Let know if I can provide more information to debug this.Environment & Version information
Clojure version
implementation("org.clojure", "clojure", "1.11.1")
andnrepl("cider", "cider-nrepl", "0.46.0")
Java version
Operating system
Stacktrace