Skip to content

v5.0.0

Latest
Compare
Choose a tag to compare
@joerick joerick released this 11 Oct 19:39
· 8 commits to main since this release

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.