Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/lopuhin/vmprofit

VMprof helpers
https://github.com/lopuhin/vmprofit

Last synced: about 1 month ago
JSON representation

VMprof helpers

Awesome Lists containing this project

README

        

vmprof it!
----------

.. image:: https://img.shields.io/pypi/v/vmprofit.svg
:target: https://pypi.python.org/pypi/vmprofit
:alt: PyPI Version

These are some unofficial helpers that make using
`vmprof `_ more pleasant.

For example you can do::

import vmprofit

@vmprofit.profile()
def fn(x):
do_stuff()

or::

with vmprofit.profile():
do_stuff()

``vmprofit.profile`` accepts ``web_url`` and ``auth`` arguments,
by default it uploads profile result of each run to https://vmprof.com
(this **WILL** change in the future to be more explicit).