Skip to main content

EazyProfiler is forked version of Lazyprofiler which is a simple utility to collect CPU, GPU, RAM and GPU Memorystats while the program is running.

Project description

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

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

eazyprofiler-0.1.3.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

eazyprofiler-0.1.3-py2.py3-none-any.whl (8.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file eazyprofiler-0.1.3.tar.gz.

File metadata

  • Download URL: eazyprofiler-0.1.3.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for eazyprofiler-0.1.3.tar.gz
Algorithm Hash digest
SHA256 35d41594b844df0e9e7dbe5d0703b48e002ff3919db9f5ef5d0ad3db3a81ccbe
MD5 88059f2f8bac6f77a554697c4f2d568a
BLAKE2b-256 76634b804df3bbb77176ed27b89c7ed1124cc5e0a370e3d2be3039050874c070

See more details on using hashes here.

File details

Details for the file eazyprofiler-0.1.3-py2.py3-none-any.whl.

File metadata

  • Download URL: eazyprofiler-0.1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for eazyprofiler-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5dcb324970d93f65f15e2f9a0218101c55607768822e954d5d59f8e2a11e77f5
MD5 091e111f37ec8dba5753541cf510d170
BLAKE2b-256 173952948a956c026c9cbe9b44b695f09a32696494ce2406e106097b7f1f1d65

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page