- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkRunningGoProgram (0.23 sec)
-
src/runtime/syscall_windows_test.go
} func BenchmarkOsYield(b *testing.B) { for i := 0; i < b.N; i++ { runtime.OsYield() } } func BenchmarkRunningGoProgram(b *testing.B) { tmpdir := b.TempDir() src := filepath.Join(tmpdir, "main.go") err := os.WriteFile(src, []byte(benchmarkRunningGoProgram), 0666) if err != nil { b.Fatal(err) } exe := filepath.Join(tmpdir, "main.exe")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 31 16:31:35 UTC 2023 - 32.5K bytes - Viewed (0)