Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

spyder-ide/spyder-memory-profiler

Repository files navigation

❗ ❗ ❗ This plugin is no longer maintained ❗ ❗ ❗

This plugin does not work with the current version of Spyder. The last version of Spyder supported by the plugin is version 4.

The memory_profiler module that this plugin is based on, is also no longer maintained.

There are no plans to update this plugin. If you are interested in reviving the plugin, please contact the Spyder project leader.

The last version of the README file

Spyder memory profiler plugin

Project details

license conda version download count pypi version Join the chat at https://gitter.im/spyder-ide/public OpenCollective Backers OpenCollective Sponsors

Build status

Windows status Linux status MacOS status

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.

Installation

To install this plugin, you can use either pip or conda package managers, as follows:

Using conda (the recommended way!):

conda install spyder-memory-profiler -c spyder-ide

Using pip:

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).

Contributing

Everyone is welcome to contribute!

Sponsors

Spyder and its subprojects are funded thanks to the generous support of

QuansightNumfocus

and the donations we have received from our users around the world through Open Collective:

Sponsors

About

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

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages