Skip to content

Commit

Permalink
No divide by 1000 necessary - duration is already in seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
jdidion committed Jun 14, 2017
1 parent 6af0674 commit 2cde9f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __exit__(self, exception_type, exception_value, traceback):
self.stop = time.clock()
self.duration = self.stop - self.start
print(self.msg.format(
duration=self.duration / 1000,
duration=self.duration,
**self.msg_args))

def perftest(name, text_generator, num_iter=10):
Expand Down

0 comments on commit 2cde9f1

Please sign in to comment.