Create README.md

Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
David Rotermund 2024-01-03 17:27:05 +01:00 committed by GitHub
parent 6fe3aa5e92
commit 9c5d90af40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

61
helper/austin/README.md Normal file
View file

@ -0,0 +1,61 @@
# Austin -- Time and memory profiling
{:.no_toc}
<nav markdown="1" class="toc-class">
* TOC
{:toc}
</nav>
## 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
```