Hey folks, I've recently put together a profiling library for Clojure along with nREPL middleware and CIDER integration in Emacs. If runtime profiling is something that interests you, check out the following:
profile: A Clojure library for profiling http://github.com/thunknyc/profile nrepl-profile: nREPL middleware for profiling http://github.com/thunknyc/nrepl-profile cider-profile: nrepl-profile integration with CIDER http://melpa.org/#/cider-profile An excerpt from the `cider-profile` README is included at the end of this message. Obligatory Criterium mention: Whenever I mention profiling, Criterium comes up. Criterium suits many people's needs and I encourage folks to check it out, but it's not suited to the sorts performance problems I've confronted in recent work. Thus this work. Regards, Edwin *** README excerpt *** Usage: Add the following to your `init.el`, `.emacs`, whatever: ``` (add-hook 'cider-mode-hook 'cider-profile-mode) (add-hook 'cider-repl-mode-hook 'cider-profile-mode) ``` Cider-profile includes the following keybindings out of the box: * `C-c =` Toggle profiling of var under point. * `C-c _` Clear collected profiling data. * `C-c -` Print summary of profiling data to `*err*`. * `C-c M--` Print profiling stats for var under point to `*err*`. * `C-c +` Toggle profiling of namespace. * `C-c M-=` Report whether var under point is profiled. * `C-c M-+` Read (and, with `C-u`, set) current maximum per-var samples. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.