Skip to content

Commit

Permalink
replace time.clock with perf_counter for py3
Browse files Browse the repository at this point in the history
  • Loading branch information
frostming committed Sep 14, 2018
1 parent 50944e7 commit e8f0150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_sqlalchemy/__init__.py
Expand Up @@ -36,7 +36,7 @@

# the best timer function for the platform
if sys.platform == 'win32':
_timer = time.clock
_timer = time.perf_counter
else:
_timer = time.time

Expand Down

0 comments on commit e8f0150

Please sign in to comment.