diff --git a/helper/austin/README.md b/helper/austin/README.md new file mode 100644 index 0000000..53bef23 --- /dev/null +++ b/helper/austin/README.md @@ -0,0 +1,61 @@ +# Austin -- Time and memory profiling +{:.no_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](mailto:davrot@uni-bremen.de) + +## Installing Austin + +Obviously, first we need to get [Austin](https://github.com/p403n1x87/austin). On the Austin website, there a several methods described how to install it. + +### Linux as user + +Compiling + +```shell +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. + +```shell +cp src/austin ~/P3.11/bin/ +``` + +### Windows + +Go [here](https://github.com/P403n1x87/austin/releases/latest) and download the latest Windows64 msi installer. And don't let Windows intimidate you: + + +## Installing [Austin TUI](https://github.com/P403n1x87/austin-tui) + +```shell +pip install austin-tui +``` + +Under Windows you might need (not tested yet): + +```shell +pip install windows-curses +``` + +## Installing VS Code Austin extension + +You need to install this extension: + +![image0](image0.png) + +```python +```