Skip to main content

Python function timing

Project description



pip install functime


import functime

func_time(sorted, [5,4,3,2,1])


sorted AVG(1000000): 0.537999us

This moudle provides a simple way to time a function.

  • timer_auto(func, *args, **kwargs): Recommended function.Time func with its arguments followed by func.Call timer(func, times) repeatedly with times set to (10, 100, 1000, ...) so that the total time >= 0.2.Print average run time with readable format.

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
functime-0.0.1-py3-none-any.whl (2.2 kB) Copy SHA256 hash SHA256 Wheel py3
functime-0.0.1.tar.gz (1.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page