import chronostat, time
stats = chronostat.ChronoStat('[email protected]')
with stats.timer('context_manager'):
time.sleep(1)
# or
@stats.timer('decorator')
def sleepy():
time.sleep(1)
forked from weargoggles/chronostat
-
Notifications
You must be signed in to change notification settings - Fork 0
pmg103/chronostat
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%