Hi, I just tried it and it looks really useful if one wants to track down speed bumps in web apps.
I wonder if I understand the usege correctly, right now I did something like this: (defn admin-page [params] (let [users (cjmp/trace "all users" (db/get-all-users (get params :filter)))] (layout/render "user/admin.html" (merge {:users users :roles available-roles} params)))) I think this blows the code and one has to remove / add the trace function everytime one wants to profile the code. Maybe it would be an improvement if one could add some metadata to functions which then would be profiled only in dev mode for example? Best Regards, Sven Am Mittwoch, 4. Februar 2015 14:21:28 UTC+1 schrieb tcrayford: > > Ack, minor date error there. > > I've been running Clojure Miniprofiler in production since July 2014, and > it's proved both very stable, and extremely useful. > > On Wednesday, 4 February 2015 13:16:43 UTC, tcrayford wrote: >> >> Clojure Miniprofiler is a simple, but effective profiling tool for your >> web application. >> >> It tells you what is slow about a web page both in production (for admins >> only), and in development, as you load the page. >> >> It's a port of the original .Net library to Clojure, utilizing the >> JavaScript and UI code that was originally written there. >> >> Read more about it here: >> >> http://yellerapp.com/opensource/clojure-miniprofiler.html >> >> And a sample performance debugging session is detailed here: >> >> http://yellerapp.com/posts/2015-02-04-miniprofiler.html >> >> I've been running Clojure Miniprofiler in production since July 2015, and >> it's proved both very stable, and extremely useful. >> > -- 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.