An open API service indexing awesome lists of open source software.

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

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 []