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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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