1.2.0 permalink Arrow_down_16x16
  • (profile & body)
Runs body with profiling enabled, then prints a summary of
results. Returns nil.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/profile.clj:106 top

(defmacro profile
  "Runs body with profiling enabled, then prints a summary of
  results.  Returns nil."
  [& body]
  `(print-summary (summarize (with-profile-data (do ~@body)))))
Vars in clojure.contrib.profile/profile: defmacro concat list seq
Used in 0 other vars

Comments top

No comments for profile. Log in to add a comment.