Skip to main content

official plugins for viztracer

Project description

vizplugins

build coverage pypi support-version license commit

official plugins for VizTracer; currently support tracing cpu usage through psutil.

Install

The prefered way to install vizplugins is via pip

pip install vizplugins

Basic Usage

The vizplugin should be used with viztracer.

You can use VizTracer and the plugin by

viztracer --plugin vizplugins.cpu_usage -- my_script.py arg1 arg2

which will generate a result.html file in the directory you run this command, which you can open with Chrome.

Example

The below image is an example of the resulting html, which is called on an recursively defined fibonacci funtion.

The "cpu_percentage" on the top indicates the corresponding cpu usage at each time period. You can see the details by clicking on one of the periods.

example_img

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

vizplugins-0.1.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

vizplugins-0.1.0-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

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