##// END OF EJS Templates
vcsserver: removed xargs
super-admin -
r1057:0c9c5a5c python3
parent child Browse files
Show More
@@ -49,7 +49,7 b' class StatsClientBase(object):'
49 statsd = StatsdClient.statsd
49 statsd = StatsdClient.statsd
50 with statsd.timer('bucket_name', auto_send=True) as tmr:
50 with statsd.timer('bucket_name', auto_send=True) as tmr:
51 # This block will be timed.
51 # This block will be timed.
52 for i in xrange(0, 100000):
52 for i in range(0, 100000):
53 i ** 2
53 i ** 2
54 # you can access time here...
54 # you can access time here...
55 elapsed_ms = tmr.ms
55 elapsed_ms = tmr.ms
General Comments 0
You need to be logged in to leave comments. Login now