Scalene

Latest version: v1.5.49

Safety actively analyzes 685670 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 13

1.5.6

What's Changed

Improved functionality and accuracy:
* Fixed Python memory attribution for large requests.
* Fixed an issue with the `multiprocessing` library.

UI improvements:
* Fixed reporting of the Python fraction of memory allocated.

Compatibility:
* Removed `nvidia-ml-py` dependency, which was causing a reported issue with Dask (https://github.com/plasma-umass/scalene/issues/378).

**Full Changelog**: https://github.com/plasma-umass/scalene/compare/v1.5.5...v1.5.6

1.5.5

What's Changed

Improved functionality and accuracy:
* Fixed occasional segfaults caused by unaligned memory allocations.
* Corrected an issue with attribution of CPU time with threads.
* Leak detection enabled by default.

UI improvements:
* Hovering over memory timelines now shows amount of memory consumed, and when.
* Memory timelines are compressed, reducing the size of profiles and reducing the memory consumption of the UI.
* Suspected leaks are now highlighted.

Compatibility:
* Moved to Python 3.8.

**Full Changelog**: https://github.com/plasma-umass/scalene/compare/v1.5.4...v1.5.5

1.5.4

What's Changed

Improved functionality and accuracy:
* [Fixed memcpy attribution (now on specific lines, just like allocations).](https://github.com/plasma-umass/scalene/commit/86bbd14fe1585b5038d5e89ce30fdb43eefa3085)
* GPU profiling now enabled on Apple systems

UI improvements:
* [Memory timelines are now zoomable.](https://github.com/plasma-umass/scalene/commit/9c3a6a4e62a95715e64e2c30bec01ac060f85a0c)
* [Fatter bars, zoomable timelines, fixed sorting for code line separators](https://github.com/plasma-umass/scalene/commit/ef46fab9f7841f1d28e790f8f99f1dd4cc77eb9c)
* [Added explanations when hovering over column headers.](https://github.com/plasma-umass/scalene/commit/40f2e27932023283a858c20cb600d262cae4b200)
* [Omit function summaries if no functions.](https://github.com/plasma-umass/scalene/commit/058c85246a41e268defb02414637739940e59e92)
* [Added GPU memory profiling.](https://github.com/plasma-umass/scalene/commit/2eee9b8350fd370f16dd30c38406b4954e472f1b)
* [Report peak instead of average GPU memory.](https://github.com/plasma-umass/scalene/commit/d0a61b69b719bac030470257e9a18a0c9ea369d2)
* [GPU utilization now pies.](https://github.com/plasma-umass/scalene/commit/afa06f2b98c968bd9089e25a609a4e6d68ae37c2)

Compatibility:
* [Fixed Windows support](https://github.com/plasma-umass/scalene/commit/411e71dc70027f25242a13588497dc7332944d3e)
* [Added support for profiling programs that use signals](https://github.com/plasma-umass/scalene/pull/347)

**Full Changelog**: https://github.com/plasma-umass/scalene/compare/v1.5.3...v1.5.4

1.5.3

What's Changed

* Adds exception handling to workaround a virtualized GPU issue (https://github.com/plasma-umass/scalene/issues/323).
* Added average memory consumption calculation to function summaries.
* Fixes a missing argument issue in output (https://github.com/plasma-umass/scalene/issues/344)
* Fixes an issue with Jupyter notebooks when they don't have access to a web browser.

**Full Changelog**: https://github.com/plasma-umass/scalene/compare/v1.5.2...v1.5.3

1.5.2

What's Changed
* Scalene's web-based GUI is now integrated into Jupyter notebooks
* When using `--cpu-only` or profiling in Jupyter, columns for memory profiling (which would all be empty) are now hidden
* The local webserver now exits after 5 seconds.

**Full Changelog**: https://github.com/plasma-umass/scalene/compare/v1.5.1...v1.5.2

1.5.1

What's Changed
* Scalene now launches its web-based GUI locally by default. After profiling, It opens a browser tab to a local webserver and automatically brings up the most recent profile. (The old behavior is still available by using `--cli` on the command line.)

**Full Changelog**: https://github.com/plasma-umass/scalene/compare/v1.5.0...v1.5.1

Page 10 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.