diff options
Diffstat (limited to 'libgo/go/big/calibrate_test.go')
-rw-r--r-- | libgo/go/big/calibrate_test.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libgo/go/big/calibrate_test.go b/libgo/go/big/calibrate_test.go index c6cd2e693b7..1cd93b1052b 100644 --- a/libgo/go/big/calibrate_test.go +++ b/libgo/go/big/calibrate_test.go @@ -19,10 +19,8 @@ import ( "time" ) - var calibrate = flag.Bool("calibrate", false, "run calibration test") - // measure returns the time to run f func measure(f func()) int64 { const N = 100 @@ -34,7 +32,6 @@ func measure(f func()) int64 { return (stop - start) / N } - func computeThresholds() { fmt.Printf("Multiplication times for varying Karatsuba thresholds\n") fmt.Printf("(run repeatedly for good results)\n") @@ -84,7 +81,6 @@ func computeThresholds() { } } - func TestCalibrate(t *testing.T) { if *calibrate { computeThresholds() |