There is a newer version of the record available.

Published January 23, 2026 | Version v2.1.0
Software Open

Scalene: a high-performance, high-precision CPU, GPU, and memory profiler for Python

Description

UI, Frontend & Visualization

  • Convert scalene-gui JavaScript to TypeScript by @emeryberger in https://github.com/plasma-umass/scalene/pull/970
  • Add Google Gemini provider, environment variable support, and UI modernization by @emeryberger in https://github.com/plasma-umass/scalene/pull/973
  • Vendor assets locally for offline HTML viewer support by @emeryberger in https://github.com/plasma-umass/scalene/pull/983
  • Add per-file display mode dropdown for profile filtering (fixes #813) by @emeryberger in https://github.com/plasma-umass/scalene/pull/989

LLM / API Provider Support

  • Add support for OpenAI-compatible API servers and Anthropic (fixes #918) by @emeryberger in https://github.com/plasma-umass/scalene/pull/971
  • Add Google Gemini provider, environment variable support, and UI modernization by @emeryberger in https://github.com/plasma-umass/scalene/pull/973

CPU & Core Profiling Engine

  • Optimize CPU profiling instrumentation by @emeryberger in https://github.com/plasma-umass/scalene/pull/988
  • Fix crash when frame.f_lineno is None in Python 3.11+ by @emeryberger in https://github.com/plasma-umass/scalene/pull/976

Multiprocessing, Exec, and Runtime Compatibility

  • Fix multiprocessing spawn mode support (#873) by @emeryberger in https://github.com/plasma-umass/scalene/pull/984
  • Fix multiprocessing spawn mode sys.argv handling (#846) by @emeryberger in https://github.com/plasma-umass/scalene/pull/986
  • Add profiling support for exec'd code (fixes #824) by @emeryberger in https://github.com/plasma-umass/scalene/pull/987
  • Fix signal conflict crash with PyTorch Lightning and similar libraries by @emeryberger in https://github.com/plasma-umass/scalene/pull/977

PyTorch & JIT Integration

  • Add PyTorch JIT profiling support (fixes #908) by @emeryberger in https://github.com/plasma-umass/scalene/pull/972

GPU & Apple Silicon

  • Add per-process MPS GPU profiling for Apple Silicon by @emeryberger in https://github.com/plasma-umass/scalene/pull/974

Windows Support & Reliability

  • Improve Windows memory profiling error messages and documentation by @emeryberger in https://github.com/plasma-umass/scalene/pull/978
  • Fix Windows CPU profiling not collecting samples by @emeryberger in https://github.com/plasma-umass/scalene/pull/980

Notebook & Editor Integration

  • Fix Jupyter notebook display in VSCode (fixes #951) by @emeryberger in https://github.com/plasma-umass/scalene/pull/969

Notes

If you use or refer to Scalene, please cite it as below.

Files

plasma-umass/scalene-v2.1.0.zip

Files (9.1 MB)

Name Size Download all
md5:a3c67878b609804cc587c7a9b961a88d
9.1 MB Preview Download

Additional details

Related works