Giter Club home page Giter Club logo

full-profiler's Introduction

full-profiler

A simple Python wrapper to profile both memory and time of python scripts in Linux or MacOS. Quickly built with Typer ๐Ÿš€๐Ÿ’ฃ

Installation

You need to clone the repo and install in your environment:

git clone [email protected]:faviasono/full-profiler.git
cd full_profiler 
pip install .

n.b. It's not yet available as wheel package in PyPi.

Usage

You must run as python module in the following way:

python -m full_profiler [ARGS] [OPTIONS]

In order to collect in-line memory information using memory_profiler you'll need to decorate your function with memory_profiler.profile function. Take a look at the example/example.py or to the official page of the tool

Use the --help flag to see the available commands. For instance, the command python -m full_profiler --help will generate the following output:

example

TODO

[ ] Get Metrics from program.prof (e.g., max usage, peak usage)

[ ] Automatically parse information from text referring to model.predict or session.run codes.

[ ] Add results in common folder (handle paths)

full-profiler's People

Contributors

faviasono avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.