Fork me on GitHub
#cider
<
2018-04-10
>
bhauman12:04:04

Probably not the only one to ask this, but anything I need to disable to get rid of perf problems?

bhauman12:04:40

updating to latest first

dominicm13:04:30

@bhauman what performance problems? 😄

bhauman13:04:35

I had an earlier 17-snapshot and after an hour or so I'd experience a noticable key lag

bhauman13:04:46

I'm testing out the current one

bhauman13:04:57

@dominicm ^

dominicm13:04:09

What do you mean by "key lag"?

bhauman14:04:55

@dominicm shoot missed that, I mean that my emacs process was being overloaded by, perhaps per keypress processing, which resulted in a noticeable lag before keypresses were rendered in the emacs buffer

dpsutton14:04:59

@bhauman when my repls get slow i'll hit , and then clear the repl. i think a lot of times its just emacs being slow with a big font-locked buffer

bhauman14:04:45

yeah this is way different than behavior I've experienced previously

bhauman14:04:41

oh and its not the REPL

bhauman14:04:54

its the editor buffer

bhauman14:04:40

oh and I'm still experiencing it in the new 17-snapshot

bhauman14:04:09

the behavior is that it starts of responsive and overtime slows down dramatically, I have to quit cider and jack-in again to be able to use it

dpsutton14:04:29

not emacs? just close the connection and re-jack in?

doglooksgood16:04:49

how can I configure how cider generate (ns ...). I want it recognize src/main/clojure|cljs|cljc

manuel17:04:48

@doglooksgood I'm not sure about cljc because I don't write them, but you can have automatically generated clj/cljs files if you use clj-refactor: https://github.com/clojure-emacs/clj-refactor.el Once installed, just set this option: (setq cljr-add-ns-to-blank-clj-files t)

benedek19:04:25

@bhauman do you use joker/flycheck-joker?

danielcompton20:04:21

Cider was the second most important project to Clojurists Together members workflow: https://clojuriststogether.org/news/q2-2018-survey-results/

mitchelkuijpers20:04:03

@benedek I use joker and cider is there a known issue?

benedek20:04:39

causes occasional slowness for me like the one @bhauman describes

benedek20:04:45

but on windows

benedek20:04:54

so can't be sure it is the same

benedek20:04:06

shame because the wo/ REPL linting is just awesome

bhauman20:04:56

My lag problems are only when I'm editing a cljc file, perhaps the regexs for highlighting the cljc buffer are super inefficient?

benedek21:04:31

ah right. i work with cljc too. will keep an eye on perf but dont recall any probs