An open API service indexing awesome lists of open source software.

https://github.com/wilfredinni/how-long

Simple Decorator to measure a function execution time.
https://github.com/wilfredinni/how-long

Last synced: 5 days ago
JSON representation

Simple Decorator to measure a function execution time.

Awesome Lists containing this project

README

          

how_long
========

Simple Decorator to measure a function execution time.

Example
_______

.. code-block:: python

from how_long import timer

@timer
def some_function():
return [x for x in range(10_000_000)]