Skip to content

readyset.go - a stupidly simple timer / benchmarker

License

Notifications You must be signed in to change notification settings

craigandrews/readyset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

readyset

readyset.go - a stupidly simple timer / benchmarker

Usage

timer := readyset.Go()

lap1 := timer.Lap() # Time elapsed since start

lap2 := timer.Lap() # Time elapsed since lap1

lap3 := timer.Lap().Milliseconds() # Time elapsed since lap2 in ms as an int64

elapsed := time.Stop() # Total time elapsed since start

elapsed2 := time.Stop().Milliseconds() # Total time elapsed since start in ms as an int64

About

readyset.go - a stupidly simple timer / benchmarker

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages