Skip to main content

Designed to save pstats log to folder.

Project description

Abstract

Designed to save pstats log to folder...

Install

    pip3 install git+https://github.com/GrafLearnt/pstats_extender.git

Usage

import pstats_extender


@pstats_extender.profile()
def some_function():
    ...

or

import pstats_extender


with pstats_extender.profile(
    sortby=pstats_extenter.SortKey.CUMULATIVE, directory="../pstats"
):
    # your code here

or

import pstats_extender


with pstats_extender.profile():
    # your code here

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.

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

pstats_extender-0.1.2.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

pstats_extender-0.1.2-py3-none-any.whl (2.5 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