blob: c08e2a719f9549d5020fc646e5464c48bcd3125b [file] [log] [blame]
use test::Bencher;
use linalg::util::reproducible_random_matrix;
#[bench]
fn svd_10_10(b: &mut Bencher) {
let mat = reproducible_random_matrix(10, 10);
b.iter(||
mat.clone().svd()
)
}
#[bench]
fn svd_100_100(b: &mut Bencher) {
let mat = reproducible_random_matrix(100, 100);
b.iter(||
mat.clone().svd()
)
}