https://github.com/amyth/pytimeit
A module that helps log time for multiple processes in python
https://github.com/amyth/pytimeit
code execution python time
Last synced: 24 days ago
JSON representation
A module that helps log time for multiple processes in python
- Host: GitHub
- URL: https://github.com/amyth/pytimeit
- Owner: amyth
- License: gpl-2.0
- Created: 2014-11-14T11:57:37.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-14T12:14:55.000Z (over 11 years ago)
- Last Synced: 2023-04-01T06:05:09.706Z (about 3 years ago)
- Topics: code, execution, python, time
- Language: Python
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
###PyTimeit - v 0.1
####Introduction:
A python module that helps log/print time takes for a particular process. This module can simultaneously record time for multiple processes. This does not use a decorator so can be used even for a single line of python code.
####Usage:
```
from timeit import TimeLogger
timelog = TimeLogger(debug=True)
db_query = timelog.start_process("Make Database Query", prediction=2)
#some python code here
timelog.stop_process(db_query)
```
####Contributors
Amyth Arora []