Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkGCD10x10 (0.49 sec)

  1. src/math/big/gcd_test.go

    	bb := randInt(r, bSize)
    	var x, y *Int
    	if calcXY {
    		x = new(Int)
    		y = new(Int)
    	}
    	b.StartTimer()
    	for i := 0; i < b.N; i++ {
    		new(Int).GCD(x, y, aa, bb)
    	}
    }
    
    func BenchmarkGCD10x10(b *testing.B)         { runGCD(b, 10, 10) }
    func BenchmarkGCD10x100(b *testing.B)        { runGCD(b, 10, 100) }
    func BenchmarkGCD10x1000(b *testing.B)       { runGCD(b, 10, 1000) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 19:11:43 UTC 2016
    - 2.2K bytes
    - Viewed (0)
Back to top