Sign in
go
/
website
/
084ad90bc301c71032ff0dd6726fc00342ea3204
/
.
/
_content
/
talks
/
2014
/
playground
/
sleepfast.go
blob: e275d1d46fa9b09c18d1128ca5fdfd682b45518a [
file
] [
log
] [
blame
]
// +build ignore,OMIT
package main
import (
"fmt"
"time"
)
func main() {
start := time.Now()
fmt.Println(start)
for i := 0; i < 10; i++ {
time.Sleep(time.Nanosecond)
fmt.Println(time.Since(start))
}
}