Pull requests

#4 Merged
Repository
eteq
Branch
default
Repository
robertkern
Branch
default

Added stripzeros and add_module to support ipython -m and -s

Author
  1. Erik Tollerud
Reviewers
Description

This adds two new feature:

  • A stripzeros option to the various printing functions. This just removes any functions that contributed 0 total time.
  • A LineProfiler.add_module method, which adds all the functions in a module, and the function in any classes of that module.

It also updates the ipython lprun magic with "-s" and "-m" options to turn these features on.

  • Learn about pull requests

Comments (0)