github plasma-umass/scalene v1.5.17
Major UI enhancement, including AI-powered optimization suggestions

latest releases: v1.5.40, v1.5.39, v1.5.38...
16 months ago

What's Changed

Enhancements

  • Scalene now incorporates AI-powered optimization suggestions. To enable these, you need to enter an OpenAI key:

Screenshot 2023-01-01 at 6 36 40 PM

Once a valid key is entered, click on the lightning bolt (⚡) beside any line to generate a proposed optimization.

Screenshot 2023-01-01 at 6 39 12 PM

You can click as many times as you like on the lightning bolt, and it will generate different suggested optimizations.
Your mileage may vary, but in some cases, the suggestions are quite impressive. While this is currently limited to optimizing a single
line, we anticipate broadening this to groups of lines or even functions in the near future. To our knowledge, this is the first
integration of AI into profilers. It's a brave new world.

  • The web UI now incorporates collapsible profiles to web GUI (#527). You can now
    toggle the displayed lines of code (all or reduced), and show/hide individual files.

Screenshot 2023-01-01 at 6 44 13 PM

Bug fixes

  • Improved logic for filtering out Python libraries from results.
  • Added sorting to memory sample intake, made JSON work with subprocesses by @sternj in #513
  • Fix C should_trace to support OS-specific path separators by @emeryberger in #521
  • Eliminates binary file reading/writing and dependency on linecache. by @emeryberger in #522
  • Disable Windows switching of on/off status of profiling for background processes by @emeryberger in #523
  • Fixed some Win32 issues. by @emeryberger in #524

Full Changelog: v1.5.16...v1.5.17

Don't miss a new scalene release

NewReleases is sending notifications on new releases.