{ANN} A clojure macro and ruby script to profile clojure program.

2013-06-08 Thread dennis zhuang
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: method2mean: 10.81
 min: 10.81  max: 10.81  count: 1
Method: method1mean:
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: method2mean: 10.81
   min: 10.81  max: 10.81  count: 1
  Method: method1mean: 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.




Re: [cn-clojure:2334] {ANN} A clojure macro and ruby script to profile clojure program.

2013-06-08 Thread stream

弱弱的问一下,为什么解析不用clojure呢。
是因为基于JVM的clojure太重了,不方便命令行吗


On 2013-6-8, at 下午9:46, dennis zhuang killme2...@gmail.com wrote:

 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: method2mean: 10.81  
 min: 10.81  max: 10.81  count: 1
 Method: method1mean: 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: method2mean: 10.81  
 min: 10.81  max: 10.81  count: 1
   Method: method1mean: 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
 
 
 
 -- 
 中文社区博客:http://blog.clojure.cn/
 中文问答网站:http://ask.clojure.cn/
 中文邮件列表:https://groups.google.com/d/forum/cn-clojure?hl=zh-CN
 --- 
 您收到此邮件是因为您订阅了 Google 网上论坛的“CN-Clojure”论坛。
 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 cn-clojure+unsubscr...@googlegroups.com。
 要向此网上论坛发帖,请发送电子邮件至 cn-cloj...@googlegroups.com。
 通过以下网址访问此论坛:http://groups.google.com/group/cn-clojure?hl=zh-CN。
 要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
  
  

-- 
-- 
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.