From 2df57bd8086a1b51ad5591c1728dfb6f908bc9cb Mon Sep 17 00:00:00 2001 From: Vladimir Chalupecky Date: Fri, 7 Oct 2016 12:03:08 +0900 Subject: [PATCH] testlapack: add benchmark for Dgeev with n=500 --- cgo/lapack_test.go | 7 +++++++ native/lapack_test.go | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/cgo/lapack_test.go b/cgo/lapack_test.go index 0b0a117c..f946daa4 100644 --- a/cgo/lapack_test.go +++ b/cgo/lapack_test.go @@ -247,6 +247,10 @@ func BenchmarkDgeevAntisymRandomN200(b *testing.B) { rnd := rand.New(rand.NewSource(1)) 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) { testlapack.DgeevBenchmark(b, impl, testlapack.Circulant(3).Matrix()) @@ -269,3 +273,6 @@ func BenchmarkDgeevCirculantN100(b *testing.B) { func BenchmarkDgeevCirculantN200(b *testing.B) { testlapack.DgeevBenchmark(b, impl, testlapack.Circulant(200).Matrix()) } +func BenchmarkDgeevCirculantN500(b *testing.B) { + testlapack.DgeevBenchmark(b, impl, testlapack.Circulant(500).Matrix()) +} diff --git a/native/lapack_test.go b/native/lapack_test.go index 2a8b70f8..b80b9ef5 100644 --- a/native/lapack_test.go +++ b/native/lapack_test.go @@ -381,6 +381,10 @@ func BenchmarkDgeevAntisymRandomN200(b *testing.B) { rnd := rand.New(rand.NewSource(1)) 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) { testlapack.DgeevBenchmark(b, impl, testlapack.Circulant(3).Matrix()) @@ -403,3 +407,6 @@ func BenchmarkDgeevCirculantN100(b *testing.B) { func BenchmarkDgeevCirculantN200(b *testing.B) { testlapack.DgeevBenchmark(b, impl, testlapack.Circulant(200).Matrix()) } +func BenchmarkDgeevCirculantN500(b *testing.B) { + testlapack.DgeevBenchmark(b, impl, testlapack.Circulant(500).Matrix()) +}