Serdar Yegulalp
Senior Writer

Plunge into Python profiling

feature
May 29, 20263 mins

Explore the new sampling profiler in Python 3.15, dive into no-impact Python profiling with the tprof library, see how Mojo 1.0 is taking shape, and more in our latest Python Report.

Scuba diver dives in head first.
Credit: Jacob Lund / Shutterstock

The first beta release of Python 3.15 has arrived. That means it’s time to discover all the best new features in Python, and especially its low-to-no impact profiling tools. Plus, with the recent debut of Mojo 1.0, you can see for yourself how the one-time Python challenger has set out on a path of its very own.

Top picks for Python readers on InfoWorld

First look: Mojo 1.0 mixes Python and Rust
What was once pitched as a potential Python replacement is evolving into a synthesis of Python’s easy syntax and package ecosystem and Rust’s native speed and memory safety.

The best new features in Python 3.15
Lazy imports, faster JIT compilations, better error messages, and smarter profiling make Python 3.15 a compelling upgrade. And you can try out beta 1 right now.

Hands-on with the new sampling profiler in Python 3.15
Another can’t-miss Python 3.15 feature: its low-impact statistical sampling profiler, for getting visibility into your programs without slowing them down.

Profile Python functions with zero extra code
For another powerful way to do no-impact profiling, the third-party tprof library makes use of low-level hooks in Python 3.12+ to garner runtime statistics without needing to instrument your code.

More good reads and Python updates elsewhere

Why is Python slow? An Anaconda engineer explains
In an episode of Beyond the Commit, Anaconda principal engineer Antonio Cuni, developer of PyScript and PyPy, explains why Python is slower than statically-compiled languages like C and Rust.

PyWry: Webview rendering in Python
A “build once, render anywhere” library for Python, PyWry lets you “prototype in Jupyter, deploy via FastAPI, and compile to a stand-alone desktop executable”, using PyTauri instead of Electron.

Flet Studio
Flet Studio is an interactive, in-browser dev tool for writing Python programs that run in-browser using the Flet framework. Although you can’t download a stand-alone, compiled Flet package from the studio, just the source code, the interactivity alone is worth the effort.

Using LLMs to find bugs in C extensions for Python
Daniel Diniz used Claude Code to find almost 600 bugs across 14 projects, and his workflow suggests a model to follow: Let the LLMs find the bugs, and let the humans write the bug reports and fixes.

Serdar Yegulalp

Serdar Yegulalp is a senior writer at InfoWorld. A veteran technology journalist, Serdar has been writing about computers, operating systems, databases, programming, and other information technology topics for 30 years. Before joining InfoWorld in 2013, Serdar wrote for Windows Magazine, InformationWeek, Byte, and a slew of other publications. At InfoWorld, Serdar has covered software development, devops, containerization, machine learning, and artificial intelligence, winning several B2B journalism awards including a 2024 Neal Award and a 2025 Azbee Award for best instructional content and best how-to article, respectively. He currently focuses on software development tools and technologies and major programming languages including Python, Rust, Go, Zig, and Wasm. Tune into his weekly Dev with Serdar videos for programming tips and techniques and close looks at programming libraries and tools.

More from this author