Profilehooks

Latest version: v1.12.0

Safety actively analyzes 641954 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

1.5

----------------

- New argument to timecall: timer (defaults to time.time).
Example: timecall(timer=time.clock)

- Better documentation.

1.4

----------------

- Added support for cProfile, make it the default profiler when available.
Previously profilehooks supported profile and hotshot only.

1.3

----------------

- Store profile results (when you pass filename to profile) in pstats format
instead of pickles. Contributed by Florian Schulze.

1.2

----------------

- New argument to: timecall: immediate (defaults to False).

- Added a test suite.

1.1

----------------

- First release to PyPI, with a setup.py and everything.

- New arguments to profile: dirs, sort, entries. Contributed by Hanno
Schlichting.

- Preserve function attributes such as __doc__ and __module__ when decorating
them.

- Pydoc-friendly docstring wrapping and other docstring improvements.

1.0

----------------

- Changed licence from GPL to MIT.

- New decorator: timecall

- New arguments to profile: skip, filename, immediate.

- Added support for profile, after becoming convinced hotshot was unreliable.
Made it the default profiler.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.