Scalene review
A broad Python profiler for finding CPU, memory, GPU, copy, and async bottlenecks.
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Scalene is an open-source profiling tool for Python applications, aimed at developers investigating performance across more than CPU usage alone. Its sampling-based analysis separates Python, native, and system time, while line-level and function-level views help narrow findings to specific code. It also covers memory allocation trends, likely leaks, GPU activity, copy volume, asynchronous waits, concurrency metrics, and stitched Python/native call stacks. That scope makes it a strong fit for advanced Python performance analysis, particularly when bottlenecks cross runtime, library, memory, or hardware boundaries.
The workflow spans a command-line interface, a browser-based graphical interface, Jupyter notebook magics, and a Visual Studio Code extension. Scalene operates locally and supports offline use, which suits developers who want profiling results close to their development environment. Jupyter and Visual Studio Code support also give it a practical place in notebook and editor-based workflows rather than restricting analysis to terminal output. Integrations with Amazon Bedrock, Microsoft Azure, OpenAI, and Ollama support optional AI-powered optimization suggestions, including use with local models through Ollama.
Its main trade-off is focus: Scalene supports Python rather than offering a multi-language profiling surface. The broad set of measurements can also be more than a straightforward CPU investigation requires, while AI suggestions add a provider or model configuration step. Choose Scalene when Python performance work spans CPU, native execution, memory, GPU, copying, or asynchronous behavior and you want open-source local tooling. Choose an alternative when your team needs profiling across multiple programming languages or only wants a narrower, simpler profiler.
Scalene pros and cons
- Where it wins
- Profiles CPU, native, system, memory, GPU, copy volume, and async activity
- Combines CLI, browser, Jupyter, and Visual Studio Code workflows
- Open-source and supports offline operation with optional AI suggestions
- Where it doesn't
- Supported language coverage is limited to Python
- The feature breadth may exceed the needs of simple CPU profiling
- AI suggestions require a configured provider or local model
Scalene fact sheet, pricing and score →
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update