- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkStatDot (0.15 sec)
-
src/os/os_test.go
b.ResetTimer() for i := 0; i < b.N; i++ { _, err := Lstat(path) if err != nil { b.Fatalf("Lstat(%q) failed: %v", path, err) } } } func BenchmarkStatDot(b *testing.B) { benchmarkStat(b, ".") } func BenchmarkStatFile(b *testing.B) { benchmarkStat(b, filepath.Join(runtime.GOROOT(), "src/os/os_test.go")) } func BenchmarkStatDir(b *testing.B) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0)