Small python decorator for basic method time and memory usage.
Project description
# shamus
[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)
[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.png?v=103)](https://opensource.org/licenses/mit-license.php)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
Small python decorator for basic method time and memory usage.
## Installation
> Work in progress, so far copy paste and manual import
## Usage
```python
from shamus import shamus
@shamus
def your_method():
do_stuff = 'here'
```
## Output
```sh
--
Shamus analysis for [your_method]:
-> Memory: 24.2578 [MB]
-> Time: 1.8644 [s]
--
```
## License
MIT
[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)
[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.png?v=103)](https://opensource.org/licenses/mit-license.php)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
Small python decorator for basic method time and memory usage.
## Installation
> Work in progress, so far copy paste and manual import
## Usage
```python
from shamus import shamus
@shamus
def your_method():
do_stuff = 'here'
```
## Output
```sh
--
Shamus analysis for [your_method]:
-> Memory: 24.2578 [MB]
-> Time: 1.8644 [s]
--
```
## License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shamus-0.3.tar.gz
(2.6 kB
view hashes)