<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mscneuro.neuro.uni-bremen.de/index.php?action=history&amp;feed=atom&amp;title=Austin%3A_Time_and_memory_profiling</id>
	<title>Austin: Time and memory profiling - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mscneuro.neuro.uni-bremen.de/index.php?action=history&amp;feed=atom&amp;title=Austin%3A_Time_and_memory_profiling"/>
	<link rel="alternate" type="text/html" href="https://mscneuro.neuro.uni-bremen.de/index.php?title=Austin:_Time_and_memory_profiling&amp;action=history"/>
	<updated>2026-10-11T00:09:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://mscneuro.neuro.uni-bremen.de/index.php?title=Austin:_Time_and_memory_profiling&amp;diff=463&amp;oldid=prev</id>
		<title>Davrot: Created page with &quot;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 [mailto:davrot@uni-bremen.de David Rotermund]  == Installing Austin == Obviously, first we need to get [https://github.com/p403n1x87/austin Austin]. On the Austin website, there a several methods described how to install it.  === Linux as user === Compiling&lt;syntaxhighlight lang=&quot;shell&quot;&gt;git clone --depth=1 htt...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mscneuro.neuro.uni-bremen.de/index.php?title=Austin:_Time_and_memory_profiling&amp;diff=463&amp;oldid=prev"/>
		<updated>2025-10-21T09:27:47Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;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 [mailto:davrot@uni-bremen.de David Rotermund]  == Installing Austin == Obviously, first we need to get [https://github.com/p403n1x87/austin Austin]. On the Austin website, there a several methods described how to install it.  === Linux as user === Compiling&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;git clone --depth=1 htt...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;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.&lt;br /&gt;
&lt;br /&gt;
Questions to [mailto:davrot@uni-bremen.de David Rotermund]&lt;br /&gt;
&lt;br /&gt;
== Installing Austin ==&lt;br /&gt;
Obviously, first we need to get [https://github.com/p403n1x87/austin Austin]. On the Austin website, there a several methods described how to install it.&lt;br /&gt;
&lt;br /&gt;
=== Linux as user ===&lt;br /&gt;
Compiling&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;git clone --depth=1 https://github.com/P403n1x87/austin.git&lt;br /&gt;
cd austin&lt;br /&gt;
autoreconf --install&lt;br /&gt;
./configure&lt;br /&gt;
make&amp;lt;/syntaxhighlight&amp;gt;Adding it to the Python3 bin directory, e.g.&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;cp src/austin ~/P3.11/bin/&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
Go [https://github.com/P403n1x87/austin/releases/latest here] and download the latest Windows64 msi installer. And don’t let Windows intimidate you:&amp;lt;div class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;[[File:19 4.png]]&lt;br /&gt;
[[File:19 3.png]]&amp;lt;div class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing [https://github.com/P403n1x87/austin-tui Austin TUI] ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;pip install austin-tui&amp;lt;/syntaxhighlight&amp;gt;Under Windows you might need (not tested yet):&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;pip install windows-curses&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VS Code Austin extension ==&lt;br /&gt;
You need to install this extension:&lt;br /&gt;
&lt;br /&gt;
[[File:19 0.png]]&amp;lt;div class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using austin-tui ==&lt;br /&gt;
This is how it looks like under Linux. I haven’t tested it under Windows yet.&lt;br /&gt;
&lt;br /&gt;
I am using the PyTorch MNIST network example.&lt;br /&gt;
&lt;br /&gt;
=== Without memory profiling ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;austin-tui ~/P3.9/bin/python3 network.py&amp;lt;/syntaxhighlight&amp;gt;[[File:19 1.png]]&amp;lt;div class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== With memory profiling ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;shell&amp;quot;&amp;gt;austin-tui -m ~/P3.9/bin/python3 network.py&amp;lt;/syntaxhighlight&amp;gt;[[File:19 2.png]]&amp;lt;div class=&amp;quot;figure&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Davrot</name></author>
	</entry>
</feed>