github joerick/pyinstrument v5.0.0

one day ago

Loads of improvements to the HTML renderer!

  • Timeline mode - see and zoom into an interactive linear timeline!

    timeline mode

  • HTML mode now has interactive options, rather than needing to set the upfront.

  • Streamlined the design of the HTML page header.

  • HTML Call stack view supports arrow key navigation.

  • The way ‘library’ code is detected has been changed. Previously, if the string ‘/lib/’ occurred in the file path, that was considered library code (and collapsed by default). Now, pyinstrument captures the paths of the Python install and any active virtualenv/conda env at profile time. Files that are stored there are considered library. That should give fewer false positives.

  • Calls to profiler.start() can now pass a target_description parameter, which is displayed in the profile readout.

Check my blog post for more info on the new features.

Don't miss a new pyinstrument release

NewReleases is sending notifications on new releases.