This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-29
Channels
- # aws (2)
- # bangalore-clj (2)
- # beginners (36)
- # boot (10)
- # cider (9)
- # cljs-dev (19)
- # clojure (47)
- # clojure-russia (4)
- # clojure-spec (18)
- # clojure-uk (4)
- # clojurescript (71)
- # core-async (20)
- # core-logic (2)
- # css (3)
- # cursive (5)
- # data-science (15)
- # datomic (7)
- # emacs (13)
- # figwheel (4)
- # klipse (1)
- # luminus (5)
- # lumo (1)
- # off-topic (33)
- # re-frame (17)
- # shadow-cljs (1)
- # spacemacs (5)
- # specter (21)
- # unrepl (1)
- # vim (7)
When my cider repl hits about 8000 lines of output, the interaction slows to a crawl. Even if I enter a simple expression at the prompt like "1", it takes a minute to return the output. Is there a trick to preventing this slowdown?
Try C-c C-o or C-u C-c C-o. https://cider.readthedocs.io/en/latest/using_the_repl/
I saw slowdowns in the repl with very long lines of output, but in your emacs init.el you can (setq cider-repl-use-pretty-printing ‘t)
and then you won’t have those excessively long lines.
It causes the output to be pretty-printed, which results in output broken into many short lines instead of one massive line. In my experience that helps a lot.
You can also look at the clojure variables *print-length*
and *print-level*
to control output in the repl.