How To Install Pprofile2 On Debian, Ubuntu, Kali And Raspbian?

How To Install Pprofile2 On Debian, Ubuntu, Kali And Raspbian?

pprofile2

Line-granularity, deterministic and statistic Python profiler

Maintainer: Josue Ortega



Section: python

Install pprofile2

  • Debian apt-get install python-pprofile Click to copy
  • Ubuntu apt-get install python-pprofile Click to copy
  • Kali Linux apt-get install python-pprofile Click to copy
  • Raspbian apt-get install python-pprofile Click to copy

python-pprofile

Line-granularity, deterministic and statistic Python profiler

Line granularity allows locating precisely where time is spent in code. Thread awareness automatically propagates profiling to all threads (all threads in statistic mode, or threads spawned by profiled code in deterministic mode). Deterministic profiling gives precise measures, but at a large speed cost (best used on minimal test scenario). Statistic profiling gives rough measure, but has an extremely low overhead (suitable for live code profiling). Does not require marking methods to profile, allowing non-method profiling (module imports, class & function declarations and other module-level code). This package installs the library for Python 2.

Install the latest version of pprofile2 in Debian, Ubuntu, Kali and Raspbian from terminal. To install the pprofile2 just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of pprofile2 from the respository and install it in your computer/server.