Re: A STM profile tool

2012-01-16 Thread dennis zhuang
hi,all I've upgraded the version to 1.0.1-SNAPSHOT. And added a new function ref-stats to get the statistics information of a reference.For example: =>(use'stm) =>(def a (ref 1)) =>(def b (ref 2)) =>(dotimes [_ 100] (future (dosync (alter a + 1) (alter b - 1 =>@a 101 =>@b -98 =>(stm-stats) {

Re: A STM profile tool

2012-01-16 Thread Jonathan Cardoso
Interesting! -- 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 e

A STM profile tool

2012-01-14 Thread dennis
I written a profile tool for clojure STM,it statistics all transactions information such as execution times,execution cost,the retry reason and times etc. If you are interested in it,please check it on github: https://github.com/killme2008/stm-profiler It's just a try to profile STM,if you have