mirror of
https://github.com/DataDog/go-profiler-notes.git
synced 2026-06-20 16:45:26 +08:00
12 lines
140 B
Go
12 lines
140 B
Go
package main
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
func main() {
|
|
start := time.Now()
|
|
for time.Since(start) < time.Second {
|
|
}
|
|
//time.Sleep(time.Second)
|
|
}
|