Skip to main content

eazyprofiler


Lazy Profiler is a simple utility to collect CPU, GPU, RAM and GPU Memory stats while the program is running.

This project is forked from shankarpandala's repository shankarpandala/lazyprofiler to append recording interval argument. More feature and usage will be appended for simpler and faster profiling.

Installation

Use the package manager pip to install foobar.

pip install eazyprofiler

Usage

logging interval can be set in start_log as seconds. Shorter interval than a second can be set with decimal expression (ex. 0.2=200 milliseconds)

import eazyprofiler.GetStats as gs
pid = gs.start_log("test",2)
"""
Do something in between
"""
gs.stop_log(pid=pid)
gs.plot_stats('test')

Sample Output

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Metadata

Release files for eazyprofiler 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eazyprofiler 0.1.3
File Size Uploaded
eazyprofiler-0.1.3.tar.gz 23.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for eazyprofiler 0.1.3
File Interpreter ABI Platform
eazyprofiler-0.1.3-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 31.9 kB

Release files / eazyprofiler-0.1.3.tar.gz

Download URL eazyprofiler-0.1.3.tar.gz
Size 23.9 kB
Tags Source
SHA-256 checksum
How to use checksums
35d41594b844df0e9e7dbe5d0703b48e002ff3919db9f5ef5d0ad3db3a81ccbe
BLAKE2b-256 checksum
How to use checksums
76634b804df3bbb77176ed27b89c7ed1124cc5e0a370e3d2be3039050874c070
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.10

Release files / eazyprofiler-0.1.3-py2.py3-none-any.whl

Download URL eazyprofiler-0.1.3-py2.py3-none-any.whl
Size 8.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5dcb324970d93f65f15e2f9a0218101c55607768822e954d5d59f8e2a11e77f5
BLAKE2b-256 checksum
How to use checksums
173952948a956c026c9cbe9b44b695f09a32696494ce2406e106097b7f1f1d65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page