- Home
- Profiling Software
- Scalene
On the recordRead 4 Oct 202614 facts
Scalene
Plans and prices
Scalene
Free
Open-source Python profiler · install via pip or conda
Read 4 Oct 2026 · github.com
On the record
- AI providers
- For optimization suggestions, Scalene lists Amazon Bedrock, Microsoft Azure, OpenAI, and local models via Ollama as supported providers.github.com · read 4 Oct 2026
- Async profiling
- Async profiling attributes wall-clock await time to the line where a coroutine is suspended and reports mean and peak concurrent waiters.github.com · read 4 Oct 2026
- Detailed profiling
- It reports performance at line and function level and separates Python time from native-code and system time.github.com · read 4 Oct 2026
- GPU support
- GPU profiling reports time on NVIDIA-based systems.github.com · read 4 Oct 2026
- Install platforms
- The project lists macOS, Linux, Windows, and Windows Subsystem for Linux 2 as supported installation platforms.github.com · read 4 Oct 2026
- Interfaces
- Scalene can be used from the command line, a web-based GUI, a Visual Studio Code extension, or Jupyter notebooks.github.com · read 4 Oct 2026
- License
- The repository identifies its license as Apache-2.0.github.com · read 4 Oct 2026
- Local processing
- The web interface processes profiles locally and works offline; the project says API keys passed from environment variables are sent only to the local browser session and are never written into the HTML file.github.com · read 4 Oct 2026
- Memory analysis
- It reports per-line memory use, distinguishes Python from native allocations, and identifies lines with likely memory leaks.github.com · read 4 Oct 2026
- Performance overhead
- The README says profiling overhead is typically no more than 10–20%, and often less.github.com · read 4 Oct 2026
- Purpose
- Scalene profiles Python programs for CPU, GPU, and memory use and provides AI-powered optimization proposals.github.com · read 4 Oct 2026
- Stack views
- Its GUI can display stitched Python and native call stacks, memory flame charts, and a timeline.github.com · read 4 Oct 2026
- Support
- The project links to a Scalene community Slack for community discussion.github.com · read 4 Oct 2026
- Windows note
- Starting with Scalene 2.0, Windows supports full memory profiling; troubleshooting may require the Visual C++ Redistributable.github.com · read 4 Oct 2026