TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Austin – CPython frame stack sampler v2.0.0 is now available

1 pointsby p403n1x87over 4 years ago

1 comment

p403n1x87over 4 years ago
I am delighted to announce the release 2.0.0 of Austin. If you haven&#x27;t heard of Austin before, it is a frame stack sampler for CPython. 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&#x27;s running on a production environment, with minimal impact on performance.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;P403n1x87&#x2F;austin" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;P403n1x87&#x2F;austin</a><p>The simplest way of using Austin is by piping its output to FlameGraph for a quick and detailed representation of the collected samples.<p>Besides support for Python 3.9, this new release of Austin brings a considerable performance enhancement that allows it to sample up to 8 times faster than previous versions.<p>Due to increasing popularity, the sample Python applications that were included in the main repository have been moved to dedicated projects. The TUI can now be found at<p><a href="https:&#x2F;&#x2F;github.com&#x2F;P403n1x87&#x2F;austin-tui" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;P403n1x87&#x2F;austin-tui</a><p>while Austin Web is now available from<p><a href="https:&#x2F;&#x2F;github.com&#x2F;P403n1x87&#x2F;austin-web" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;P403n1x87&#x2F;austin-web</a><p>If you are considering making your own profiling tool based on Austin, this package can spare you from writing boilerplate code<p><a href="https:&#x2F;&#x2F;github.com&#x2F;P403n1x87&#x2F;austin-python" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;P403n1x87&#x2F;austin-python</a><p>The documentation is hosted on RTD at<p><a href="https:&#x2F;&#x2F;austin-python.readthedocs.io&#x2F;en&#x2F;latest&#x2F;" rel="nofollow">https:&#x2F;&#x2F;austin-python.readthedocs.io&#x2F;en&#x2F;latest&#x2F;</a><p>Finally, I am happy to announce the release of pytest-austin, a plugin for pytest that allows you to set up performance regression testing by simply decorating your existing pytest test suite. For more details, check out the project on GitHub<p><a href="https:&#x2F;&#x2F;github.com&#x2F;P403n1x87&#x2F;pytest-austin" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;P403n1x87&#x2F;pytest-austin</a><p>Like the other Austin tools, pytest-austin can be installed easily from PyPI.<p>Follow Austin on Twitter (<a href="https:&#x2F;&#x2F;twitter.com&#x2F;AustinSampler" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;AustinSampler</a>).