pytutorial/helper/austin
David Rotermund 277ee210af
Add files via upload
Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
2024-01-03 17:35:52 +01:00
..
image0.png Add files via upload 2024-01-03 17:29:15 +01:00
image1.png Add files via upload 2024-01-03 17:35:52 +01:00
image2.png Add files via upload 2024-01-03 17:35:52 +01:00
README.md Create README.md 2024-01-03 17:27:05 +01:00

Austin -- Time and memory profiling

{:.no_toc}

* TOC {:toc}

Top

We want to see where your Python program requires the most processing time and memory. For this we will use a time- and memory profiler called Austin.

Questions to David Rotermund

Installing Austin

Obviously, first we need to get Austin. On the Austin website, there a several methods described how to install it.

Linux as user

Compiling

git clone --depth=1 https://github.com/P403n1x87/austin.git
cd austin
autoreconf --install
./configure
make

Adding it to the Python3 bin directory, e.g.

cp src/austin ~/P3.11/bin/

Windows

Go here and download the latest Windows64 msi installer. And don't let Windows intimidate you:

Installing Austin TUI

pip install austin-tui

Under Windows you might need (not tested yet):

pip install windows-curses

Installing VS Code Austin extension

You need to install this extension:

image0