A macro named `p` to log data, and a ruby script to parse log file,and it
will give the statistics result of a clojure program:

Parsing log file test.log ...
Prowl profile results:
Labels:
  Label:logic count:1
    Method: method2                                        mean: 10.81
     min: 10.81      max: 10.81      count: 1
    Method: method1                                        mean:
145.90     min: 145.90     max: 145.90     count: 1
    Method: start                                          mean:
159.59     min: 159.59     max: 159.59     count: 1

Methods:
  Method: method2                                        mean: 10.81
   min: 10.81      max: 10.81      count: 1
  Method: method1                                        mean: 145.90
   min: 145.90     max: 145.90     count: 1
  Method: start                                          mean: 159.59
   min: 159.59     max: 159.59     count: 1

It's on github,have fun.

https://github.com/killme2008/prowl

-- 
庄晓丹
Email:        killme2...@gmail.com xzhu...@avos.com
Site:           http://fnil.net
Twitter:      @killme2008

-- 
-- 
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/groups/opt_out.


Reply via email to