Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkStackGrowth (0.14 sec)

  1. src/runtime/proc_test.go

    	}
    	runtime.RunSchedLocalQueueEmptyTest(iters)
    }
    
    func benchmarkStackGrowth(b *testing.B, rec int) {
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			stackGrowthRecursive(rec)
    		}
    	})
    }
    
    func BenchmarkStackGrowth(b *testing.B) {
    	benchmarkStackGrowth(b, 10)
    }
    
    func BenchmarkStackGrowthDeep(b *testing.B) {
    	benchmarkStackGrowth(b, 1024)
    }
    
    func BenchmarkCreateGoroutines(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.8K bytes
    - Viewed (0)
Back to top