Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkCopyElim100000 (0.33 sec)

  1. src/cmd/compile/internal/ssa/copyelim_test.go

    func BenchmarkCopyElim100(b *testing.B)    { benchmarkCopyElim(b, 100) }
    func BenchmarkCopyElim1000(b *testing.B)   { benchmarkCopyElim(b, 1000) }
    func BenchmarkCopyElim10000(b *testing.B)  { benchmarkCopyElim(b, 10000) }
    func BenchmarkCopyElim100000(b *testing.B) { benchmarkCopyElim(b, 100000) }
    
    func benchmarkCopyElim(b *testing.B, n int) {
    	c := testConfig(b)
    
    	values := make([]interface{}, 0, n+2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 23:01:51 UTC 2017
    - 1.3K bytes
    - Viewed (0)
Back to top