Skip to content

GPU profiling, suspend and resume profiling, improved Jupyter support

Compare
Choose a tag to compare
@emeryberger emeryberger released this 02 Apr 01:18
· 1925 commits to master since this release

This release includes the following major new features:

  • GPU profiling. If your system has an nvidia GPU, the profiler will automatically do line-level GPU utilization profiling (just like it already does for CPU).
  • Suspend/resume. When Scalene is profiling a program launched in the background (via &), you can now suspend and resume profiling. To suspend profiling of pid 12345 (Scalene will print the pid when launched in the background): python3 -m scalene.profile --off --pid 12345. To resume profiling: python3 -m scalene.profile --on --pid 12345.
  • Improved Jupyter support. Scalene now indicates in its profiles which Jupyter cell a function was defined in, as in [5].
  • Various bug fixes that improve Scalene's robustness, especially when profiling code using multithreaded libraries like numpy.