4 ms·
Austin – CPython frame stack sampler v2.0.0 is now available
- p403n1x87 6y agoI 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 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 https://github.com/P403n1x87/austin-tui while Austin Web is now available from https://github.com/P403n1x87/austin-web 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 https://github.com/P403n1x87/austin-python The documentation is hosted on RTD at https://austin-python.readthedocs.io/en/latest/ 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 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 https://twitter.com/AustinSampler).