testlapack: add benchmark for Dgeev with n=500

This commit is contained in:
Vladimir Chalupecky
2016-10-07 12:03:08 +09:00
parent e18675c259
commit 2df57bd808
2 changed files with 14 additions and 0 deletions

View File

@@ -247,6 +247,10 @@ func BenchmarkDgeevAntisymRandomN200(b *testing.B) {
rnd := rand.New(rand.NewSource(1)) rnd := rand.New(rand.NewSource(1))
testlapack.DgeevBenchmark(b, impl, testlapack.NewAntisymRandom(200, rnd).Matrix()) testlapack.DgeevBenchmark(b, impl, testlapack.NewAntisymRandom(200, rnd).Matrix())
} }
func BenchmarkDgeevAntisymRandomN500(b *testing.B) {
rnd := rand.New(rand.NewSource(1))
testlapack.DgeevBenchmark(b, impl, testlapack.NewAntisymRandom(500, rnd).Matrix())
}
func BenchmarkDgeevCirculantN3(b *testing.B) { func BenchmarkDgeevCirculantN3(b *testing.B) {
testlapack.DgeevBenchmark(b, impl, testlapack.Circulant(3).Matrix()) testlapack.DgeevBenchmark(b, impl, testlapack.Circulant(3).Matrix())
@@ -269,3 +273,6 @@ func BenchmarkDgeevCirculantN100(b *testing.B) {
func BenchmarkDgeevCirculantN200(b *testing.B) { func BenchmarkDgeevCirculantN200(b *testing.B) {
testlapack.DgeevBenchmark(b, impl, testlapack.Circulant(200).Matrix()) testlapack.DgeevBenchmark(b, impl, testlapack.Circulant(200).Matrix())
} }
func BenchmarkDgeevCirculantN500(b *testing.B) {
testlapack.DgeevBenchmark(b, impl, testlapack.Circulant(500).Matrix())
}

View File

@@ -381,6 +381,10 @@ func BenchmarkDgeevAntisymRandomN200(b *testing.B) {
rnd := rand.New(rand.NewSource(1)) rnd := rand.New(rand.NewSource(1))
testlapack.DgeevBenchmark(b, impl, testlapack.NewAntisymRandom(200, rnd).Matrix()) testlapack.DgeevBenchmark(b, impl, testlapack.NewAntisymRandom(200, rnd).Matrix())
} }
func BenchmarkDgeevAntisymRandomN500(b *testing.B) {
rnd := rand.New(rand.NewSource(1))
testlapack.DgeevBenchmark(b, impl, testlapack.NewAntisymRandom(500, rnd).Matrix())
}
func BenchmarkDgeevCirculantN3(b *testing.B) { func BenchmarkDgeevCirculantN3(b *testing.B) {
testlapack.DgeevBenchmark(b, impl, testlapack.Circulant(3).Matrix()) testlapack.DgeevBenchmark(b, impl, testlapack.Circulant(3).Matrix())
@@ -403,3 +407,6 @@ func BenchmarkDgeevCirculantN100(b *testing.B) {
func BenchmarkDgeevCirculantN200(b *testing.B) { func BenchmarkDgeevCirculantN200(b *testing.B) {
testlapack.DgeevBenchmark(b, impl, testlapack.Circulant(200).Matrix()) testlapack.DgeevBenchmark(b, impl, testlapack.Circulant(200).Matrix())
} }
func BenchmarkDgeevCirculantN500(b *testing.B) {
testlapack.DgeevBenchmark(b, impl, testlapack.Circulant(500).Matrix())
}