Better HN
topnewbestaskshowjobs
Log inSign up

p403n1x87

359 karma · joined Dec 21, 2019 (6y ago) · 77 submissions

Submissions

1.

The State of Python Profiling in 2026(p403n1x87.github.io ↗)

3 points · by p403n1x87 · 4w ago · discuss

2.

Busting performance issues, AI edition(p403n1x87.github.io ↗)

1 points · by p403n1x87 · 6mo ago · discuss

3.

Austin VS Code hits v1, brings profiling MCP, live attach, and more(marketplace.visualstudio.com ↗)

1 points · by p403n1x87 · 7mo ago · discuss

comment 1y ago · link · parent

I am delighted to announce the 4.0 release of Austin. If you haven't heard of Austin before, it is an open-source out-of-process frame stack sampler for CPython, distributed under the GPLv3 license. It can be used to obtain statistical profiling data for a running Python application with no manual instrumentation and virtually zero impact on the runtime. You can find the code at

https://github.com/P403n1x87/austin

The main highlights of the new release are the support for Python 3.14, as well as many substantial performance improvements that make Austin one of the most accurate sampling profilers for CPython. More details about what's new and bug-fixes can be found in the changelog at

https://github.com/P403n1x87/austin/blob/master/ChangeLog

Installing Austin is as easy as running

pip install austin-dist

on any supported combination of architecture and platform. More installation options are available in the README file from the GitHub repository, along with usage details, as well as some examples of Austin in action. Details on how to contribute to Austin's development can be found at the bottom of the page.

As for ways of using Austin, the Austin VS Code extension provides a smooth interactive profiling experience, with interactive flame graphs straight into the text editor to allow you to quickly jump to the source code with a simple click. You can find the extension on the Visual Studio Marketplace and install it directly from VS Code:

https://marketplace.visualstudio.com/items?itemName=p403n1x8...

An Austin docker image, based on the latest Ubuntu image, is also available from Docker Hub:

https://hub.docker.com/r/p403n1x87/austin

Austin is a free and open-source project. A lot of effort goes into its development to ensure the best performance and that it stays up-to-date with the latest Python releases. If you find it useful, consider sponsoring this project on GitHub at https://github.com/sponsors/P403n1x87.

5.

Austin 4 Released(github.com ↗)

2 points · by p403n1x87 · 1y ago · 1 comment

comment 2y ago · link · parent

This latest release comes with support for CPython 3.13

7.

Austin 3.7 – Python frame stack sampler for CPython(github.com ↗)

12 points · by p403n1x87 · 2y ago · 2 comments

comment 2y ago · link · parent

It is still in experimental stages, but would you be willing to test the memory mode of Echion? (https://github.com/P403n1x87/echion). It is essentially tracing of all memory allocations. Mind that, if an allocation is followed by a matching de-allocation, it won't be reported; so if you profile from start till end, and all the memory is released, the profile should be almost empty (in reality this will almost never be the case); this might explain why the data doesn't seem to make sense from the tools you have tried already (assuming they do a similar thing).

9.

Python sub-interpreter profiling with Austin 3.6(old.reddit.com ↗)

2 points · by p403n1x87 · 3y ago · discuss

comment 3y ago · link · parent

https://www.dictionary.com/browse/spasm

11.

Spasmlang: Simple Python Assembly Language(github.com ↗)

3 points · by p403n1x87 · 3y ago · 2 comments

comment 3y ago · link · parent

There is a "live" flamegraph TUI that uses Austin for those interested in Python profiling https://github.com/P403n1x87/austin-tui. The data collected can be exported and then converted into pprof, and analysed further with flameshow etc...

comment 3y ago · link · parent

This seems to be heavily based on Austin https://github.com/P403n1x87/austin/blob/master/src/version.... https://github.com/bloomberg/pystack/blob/a971a4ced371a5859f...

comment 3y ago · link · parent

The Austin binary can now be installed from PyPI with pip/pipx on all supported platforms and architectures

15.

Austin Is Now on PyPI(pypi.org ↗)

1 points · by p403n1x87 · 3y ago · 1 comment

comment 3y ago · link · parent

The latest 3.5 release of Austin brings support for column-level location information exposed by CPython 3.11, which makes it the first statistical profiler for CPython to provide timing information to the finer-grained expression level.

17.

Fine-grained statistical profiling for CPython(groups.google.com ↗)

2 points · by p403n1x87 · 3y ago · 1 comment

18.

On the Algebraic Properties of Flame Graphs(arxiv.org ↗)

129 points · by p403n1x87 · 3y ago · 11 comments

comment 4y ago · link · parent

This should work with anything https://github.com/P403n1x87/austin

comment 4y ago · link · parent

Hmm some elements of that TUI look vaguely familiar ... where have I seen them before?

21.

Show HN: Betsy – The incy-wincy Python static dependencies crawler(github.com ↗)

1 points · by p403n1x87 · 4y ago · discuss

comment 4y ago · link · parent

That's a good argument for keeping these kind of tests separate. Indeed Austin has dedicated Valgrind integration tests just for this reason.

comment 4y ago · link · parent

That's a good observation. Towards the end the fixture is dropped in favour of a module-like object, which spaws the compiler once per test run. One could enhance this to skip compilation in the sandbox process to avoid unnecessary compilations.

24.

Running C unit tests with Pytest(p403n1x87.github.io ↗)

132 points · by p403n1x87 · 4y ago · 41 comments

25.

What are my Python processes at?(github.com ↗)

2 points · by p403n1x87 · 4y ago · discuss

26.

How I completed the Hacktoberfest 2021 challenge with a profiler(p403n1x87.github.io ↗)

1 points · by p403n1x87 · 4y ago · discuss

123