Show More
@@ -49,7 +49,7 b' class StatsClientBase(object):' | |||
|
49 | 49 | statsd = StatsdClient.statsd |
|
50 | 50 | with statsd.timer('bucket_name', auto_send=True) as tmr: |
|
51 | 51 | # This block will be timed. |
|
52 |
for i in |
|
|
52 | for i in range(0, 100000): | |
|
53 | 53 | i ** 2 |
|
54 | 54 | # you can access time here... |
|
55 | 55 | elapsed_ms = tmr.ms |
General Comments 0
You need to be logged in to leave comments.
Login now