Skip to content

IvanShpotenko/timer_decorator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

timer decorator

A decorator timer, which can be used to measure the performance of the function/method.
It uses two ways to measure performance:

  1. time.process_time()
  2. time.perf_counter()
    In short, .perf_coutnter() counts overall time elapsed, while the .process_time() does not include time, when CPU was not active. For instance, it does not counts time when function waited for some kind of pesponse (like HTTP ones).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages