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 pid12345(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.