using more processors for stress

This commit is contained in:
Radu Ioan Fericean
2012-07-04 19:44:08 +03:00
parent bb2916c42c
commit 850e2cafd2

View File

@@ -35,6 +35,7 @@ var (
func main() {
flag.Parse()
runtime.GOMAXPROCS(runtime.NumCPU() - 1)
if *cpuprofile != "" {
f, err := os.Create(*cpuprofile)