Scalene is a high-performance CPU, GPU and memory profiler for Python that does a number of things that other Python profilers do not and cannot do. It runs orders of magnitude faster than other profilers while delivering far more detailed information. Once Scalene has profiled your program, it will launch a web browser with an interactive user interface (all processing is done locally). Hover over bars to see breakdowns of CPU and memory consumption, and click on underlined column headers to sort the columns. Scalene is fast. It uses sampling instead of instrumentation or relying on Python's tracing facilities. Its overhead is typically no more than 10-20% (and often less). Scalene performs profiling at the line level and per function, pointing to the functions and the specific lines of code responsible for the execution time in your program. Scalene separates out the percentage of memory consumed by Python code vs. native code.

Features

  • Scalene has a new web-based GUI
  • Scalene separates out time spent in Python from time in native code
  • Scalene highlights hotspots
  • Scalene also separates out system time, making it easy to find I/O bottlenecks
  • Scalene reports GPU time (currently limited to NVIDIA-based systems)
  • Scalene profiles memory usage

Project Samples

Project Activity

See All Activity >

Categories

System, Hardware

License

Apache License V2.0

Follow Scalene

Scalene Web Site

Other Useful Business Software
Catch Bugs Before Your Customers Do Icon
Catch Bugs Before Your Customers Do

Real-time error alerts, performance insights, and anomaly detection across your full stack. Free 30-day trial.

Move from alert to fix before users notice. AppSignal monitors errors, performance bottlenecks, host health, and uptime—all from one dashboard. Instant notifications on deployments, anomaly triggers for memory spikes or error surges, and seamless log management. Works out of the box with Rails, Django, Express, Phoenix, Next.js, and dozens more. Starts at $23/month with no hidden fees.
Try AppSignal Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Scalene!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript System Software, JavaScript Hardware Platform

Registered

2022-02-11