Rust benchmark: tidy up a bit

This commit is contained in:
Aaron Fenyes 2024-08-09 15:18:13 -07:00
parent 0b3fe689cd
commit 14fb6d01f0
2 changed files with 80 additions and 100 deletions

View file

@ -1,7 +1,7 @@
use nalgebra::*;
use std::f64::consts::PI as PI;
use sycamore::{prelude::*, rt::{JsCast, JsValue}};
use web_sys::{console, window};
use web_sys::window;
mod engine;
@ -10,14 +10,6 @@ fn main() {
#[cfg(feature = "console_error_panic_hook")]
console_error_panic_hook::set_once();
/*console::log_1(&"before test schur 60".into());*/
/*let test_rand_mat = OMatrix::<f64, U60, U60>::identity();*/
/*let test_rot_step = OMatrix::<f64, U56, U56>::identity();*/
/*let test_schur = test_rand_mat.schur();
console::log_1(&format!("after test schur").into());
let test_eigvals = test_schur.complex_eigenvalues();
console::log_1(&format!("after test eigenvalues").into());*/
sycamore::render(|| {
let time_res: usize = 100;
let time_step = create_signal(0.0);