Scalene

Latest version: v1.5.51

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

Scan your dependencies

Page 11 of 13

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

1.5.0

What's Changed
* Scalene now supports a new web-based GUI. Invoke using `--web`; this opens a browser tab (http://plasma-umass.org/scalene-gui/) and prompts to upload the generated `profile.json` file in the current working directory.

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

1.4.2

What's Changed
* Fixed scalene looping infinitely in some functions by sternj in https://github.com/plasma-umass/scalene/pull/335

**Full Changelog**: https://github.com/plasma-umass/scalene/compare/v1.4.1...v1.4.2

1.4.1

What's Changed
* Update README.md by barseghyanartur in https://github.com/plasma-umass/scalene/pull/324
* Fixed double-counting newlines by sternj in https://github.com/plasma-umass/scalene/pull/328
* Added `--allocation-sampling-window`; fixed reporting of peak function summary by emeryberger in https://github.com/plasma-umass/scalene/pull/329
* Added in shim for get_context by sternj in https://github.com/plasma-umass/scalene/pull/320

**Full Changelog**: https://github.com/plasma-umass/scalene/compare/v1.4.0...v1.4.1

1.4.0

**New features:**
- adds `--profile-exclude` flag to exclude from profiles any filenames containing the given strings (comma-separated)
- adds experimental memory leak detection (`--memory-leak-detector`)

**Enhancements:**
- provides more accurate memory accounting for small objects
- higher resolution tracking of system vs. user time, per line, on Linux and Mac
- new sampling approach, using “intervals” and per-line triggers, to ensure consistent accounting of per-line peak and average memory consumption

**Bug fixes:**
- fixes build on Windows
- adds `-arm64e` target to enable building on Apple Silicon (M1)
- fixed exit signal propagation for failed scripts
- ensures correct build on old Xcode + Mac OS combinations
- distribution includes wheels for Windows

Page 11 of 13

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.