Rust benchmark: tidy up a bit
This commit is contained in:
parent
0b3fe689cd
commit
14fb6d01f0
2 changed files with 80 additions and 100 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue