Nodd / spyder.memory_profiler

This is a plugin to run the python memory_profiler from within the spyder editor.

Home Page:https://github.com/spyder-ide/spyder.memory_profiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spyder.memory_profiler

Description

This is a plugin to run the python memory_profiler from within the python IDE spyder.

The code is an adaptation of the profiler plugin integrated in spyder.

Important

Spyder plugin support will be released with version 3.0 (Still in Beta).

If you want to try out this plugin you need to use the latest development version of Spyder (master branch).

Install instructions

See https://github.com/spyder-ide/spyder/wiki/User-plugins, but in short:

pip install spyder.memory_profiler

Usage

Add a @profile decorator to the functions that you wish to profile then Ctrl+Shift+F10 to run the profiler on the current script, or go to Run > Profile memory line by line.

The results will be shown in a dockwidget, grouped by function. Lines with a stronger color have the largest increments in memory usage (memory profiler).

About

This is a plugin to run the python memory_profiler from within the spyder editor.

https://github.com/spyder-ide/spyder.memory_profiler

License:MIT License


Languages

Language:Python 100.0%