Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkMultiPassBlock (0.31 sec)

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

    func multi(f *Func) {
    	cse(f)
    	dse(f)
    	deadcode(f)
    }
    func BenchmarkMultiPass(b *testing.B)      { benchFnPass(b, multi, blockCount, genFunction) }
    func BenchmarkMultiPassBlock(b *testing.B) { benchFnBlock(b, multi, genFunction) }
    
    // benchFnPass runs passFunc b.N times across a single function.
    func benchFnPass(b *testing.B, fn passFunc, size int, bg blockGen) {
    	b.ReportAllocs()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top