Skip to content

Commit b8539d3

Browse files
committed
readme
1 parent 204b256 commit b8539d3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

django_timer.egg-info/PKG-INFO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 1.0
22
Name: django-timer
3-
Version: 0.8
3+
Version: 0.9
44
Summary: Profile a code block with one line. Suitable for all python and django projects.
55
Home-page: UNKNOWN
66
Author: David Alberto Adler

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ You can also use the `lap()` method to measure iterations in a loop:
4646
```python
4747
with Timer('my loop', print_message=True) as timer:
4848
for i in range(100):
49-
timer.lap()
5049
import time; time.sleep(0.01) # do something slow
50+
timer.lap()
5151
print "Total time {d:.02f} the number of iterations {n} average {avg} max {max}".format(d=timer.delta, n=len(timer.laps), avg=timer.average, max=timer.max)
5252
```
5353

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
setup(
44
name='django_timer',
55
packages=['django_timer'],
6-
version='0.8',
6+
version='0.9',
77
author='David Alberto Adler',
88
author_email='[email protected]',
99
description='Profile a code block with one line. Suitable for all python and django projects.',

0 commit comments

Comments
 (0)