Very nice. I used rbspy for Ruby programs https://rbspy.github.io/
and it can give you some insights about the running code that other
profiling techniques may not give you.
I'll use it in my next performance-bottleneck challenge.
On Fri, Jul 02, 2021 at 04:04:24PM -0700, Gabriele Tornetta wrote:
I am delighted to announce the release 3.0.0 of Austin. If you haven't heard of
Austin before, it is an open-source frame stack sampler for CPython,
distributed under the GPLv3 license. It can be used to obtain statistical
profiling data out of a running Python application without a single line of
instrumentation. This means that you can start profiling a Python application
straight away, even while it's running in a production environment, with
minimal impact on performance.
The best way to leverage Austin is to use the new extension for VS Code, which
brings 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=p403n1x87.austin-vscode
To see how to make the best of Austin with VS Code to find and fix performance
issues, check out this blog post, which shows you the editor extension in
action on a real Python project:
https://p403n1x87.github.io/how-to-bust-python-performance-issues.html
The latest release comes with many improvements, including a re-worked
sleepless mode that now gives an estimate of CPU time, initial support for
Python 3.10, better support for Python-based binaries like gunicorn, uWSGI,
etc. on all supported platforms.
Austin is a pure C application that has no dependencies other than the C
standard library. Its source code is hosted on GitHub at
https://github.com/P403n1x87/austin
The README contains installation and 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.
Austin can be installed easily on the following platforms and from the
following sources:
Linux:
- Snap Store
- Debian repositories
macOS:
- Homebrew
Windows:
- Chocolatey
- Scoop
An Austin image, based on Ubuntu 20.04, is also available from Docker Hub:
https://hub.docker.com/r/p403n1x87/austin
Austin is also simple to compile from sources as it only depends on the
standard C library if you don't have access to the above-listed sources.
You can stay up-to-date with the project's development by following Austin on
Twitter (https://twitter.com/AustinSampler).
All the best,
Gabriele
--
https://mail.python.org/mailman/listinfo/python-list
--
https://mail.python.org/mailman/listinfo/python-list