HNHacker News
TopNewBestAskShowJobs

p403n1x87

359 karma · joined December 21, 2019

submissionscomments
p403n1x87··on Pytest-austin: performance regression testing with no instrumentation
That's a good idea and planned for the next release.
p403n1x87··on Austin – CPython frame stack sampler v2.0.0 is now available
I am delighted to announce the release 2.0.0 of Austin. If you haven'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's running on a production environment, with minimal impact on performance.

https://github.com/P403n1x87/austin

The simplest way of using Austin is by piping its output to FlameGraph for a quick and detailed representation of the collected samples.

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.

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

https://github.com/P403n1x87/austin-tui

while Austin Web is now available from

https://github.com/P403n1x87/austin-web

If you are considering making your own profiling tool based on Austin, this package can spare you from writing boilerplate code

https://github.com/P403n1x87/austin-python

The documentation is hosted on RTD at

https://austin-python.readthedocs.io/en/latest/

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

https://github.com/P403n1x87/pytest-austin

Like the other Austin tools, pytest-austin can be installed easily from PyPI.

Follow Austin on Twitter (https://twitter.com/AustinSampler).

p403n1x87··on Austin, the Python statistical profiler v1.0.1 out now
I am delighted to announce the release 1.0.1 of Austin. If you haven'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 straightaway, even while it's running on a production environment, with minimal impact on performance.

The simplest way of using Austin is by piping its output to FlameGraph for a quick and detailed representation of the collected samples. The latest release introduces a memory profiling mode which allows you to profile memory usage.

Austin is a pure C application that has no other 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 v1.0.1 is also the first version of Austin to be available from Homebrew for easy installation on MacOS. These are the other places where Austin can be installed from:

Linux:

    Snap Store
    Debian repositories
Windows:

    Chocolatey
Furthermore, you can stay up-to-date with the project's development by following Austin on Twitter (https://twitter.com/AustinSampler).
p403n1x87··on Python frame stack sampler for CPython
Austin is a Python frame stack sampler for CPython written in pure C. Samples are collected by reading the CPython interpreter virtual memory space in order to retrieve information about the currently running threads along with the stack of the frames that are being executed. Hence, one can use Austin to easily make powerful statistical profilers that have minimal impact on the target application and that don't require any instrumentation.

The latest release of Austin works seamlessly with multi-process Python applications. Memory profiling is also available and all the major Python releases are currently supported.

← PreviousPage 2 of 2