diff options
Diffstat (limited to 'src/runtime/runtime_test.go')
| -rw-r--r-- | src/runtime/runtime_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/runtime_test.go b/src/runtime/runtime_test.go index 018a8dbaa6..2faf06e2b9 100644 --- a/src/runtime/runtime_test.go +++ b/src/runtime/runtime_test.go @@ -377,7 +377,7 @@ func BenchmarkGoroutineProfile(b *testing.B) { if !ok { b.Fatal("goroutine profile failed") } - latencies = append(latencies, time.Now().Sub(start)) + latencies = append(latencies, time.Since(start)) } b.StopTimer() |
