[Python-announce] ANN: Austin -- CPython frame stack sampler v3.5 is now available

2023-02-26 Thread Gabriele Tornetta
I am delighted to announce the 3.5 release 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.

https://github.com/P403n1x87/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=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

Like the most recent releases, this new one also come with some performance 
improvements, this time in the shape of higher sampling rates in multiprocess 
mode. The interpreter detection has also been improved across all supported 
platforms, and the alternative format has been dropped.

But the main new feature is the support for the new column-level location 
information that is built into Python 3.11 code objects. This additional 
information allows extracting finer-grained profiling data, down to the 
expression level. The VS Code extension has been improved to support this extra 
location data, which will be visualised in the form of source heat maps.

More details about what's new and bug-fixes can be found in the change-log

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

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
- AUR
- Conda Forge

macOS:
- Homebrew
- Conda Forge

Windows:
- Chocolatey
- Scoop

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 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).

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.

All the best,
Gabriele 

https://github.com/P403n1x87/austin;>Austin 3.5 - frame stack 
sampler for CPython. (26-Feb-23)
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


[Python-announce] Cython 3.0 beta 1 is released

2023-02-26 Thread Stefan Behnel

Hi all,

Cython 3.0 has left the alpha status – the first beta release is available 
from PyPI.


https://cython.org/

https://pypi.org/project/Cython/

The changes in this release are huge – and the full list of improvements 
compared to the 0.29.x release series is entirely incredible. Cython 3.0 is 
better than any other Cython release before, in all aspects. It's much more 
Python, integrates better with C++, supports more Python implementations 
and configurations, provides many great new language features –

it's faster, safer and easier to use. It's simply better.

https://cython.readthedocs.io/en/latest/src/changes.html#beta-1-2023-02-25

What is Cython?

In case you didn't hear about Cython before, it's the most widely used
statically optimising Python compiler out there. It translates Python (2/3)
code to C, and makes it as easy as Python itself to tune the code all the
way down into fast native code. If you have any non-trivial Python 
application running, chances are you'll find some piece of Cython generated 
package in it.


The development of the Cython 3.0 release series started all the way back 
in 2018, with the first branch commit happening on October 27, 2018.


https://github.com/cython/cython/commit/c2de8efb67f80bff59975641aac387d652324e4e

A list of Milestones along the way, and a long list of contributors:
https://github.com/cython/cython/issues/4022#issuecomment-1404305257

Thank you to everyone who contributed. A couple of people have also joined 
in an effort to make the documentation reflect what this great new Cython 
has to offer.


https://cython.readthedocs.io/en/latest/

Now, go and give it a try. We've taken great care to make the transition 
from Cython 0.29.x as smooth as possible, which was not easy given the 
large amount of changes, including some well-motivated breaking changes. We 
wanted to let all users benefit from this new release.


Let us know how it works for you, and tell others about it. :)

Have fun,
Stefan
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com