Skip to content

flytocc/debug-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

debug-timer

A Timer for Debug.

Track vital debug statistics.

Usage:

1. from timer import debug_timer

2. with debug_timer("timer1"):
   code1

   debug_timer.tic("timer2")
   code2
   debug_timer.toc("timer2")

   debug_timer.timer3_tic()
   code3
   debug_timer.timer3_toc()

   @debug_timer("timer4")
   def func(*args, **kwargs):
       code4

3. debug_timer.log()

About

A Timer for Debug.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages