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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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