Rust native benchmark: drop unused dependencies

Also, drop the commented-out beginnings of a `plotters-gtk4` version. I
can't use `plotters-gtk4` on my machine because it requires GTK 4.14 or
higher, and Ubuntu 22.04 is still at GTK 4.6.
This commit is contained in:
Aaron Fenyes 2024-08-19 13:12:50 -07:00
parent eeb0f00534
commit 8cb73f88d0
2 changed files with 0 additions and 8 deletions

View file

@ -26,10 +26,8 @@ use gtk::{
DrawingArea,
Label,
Orientation,
/*Picture,*/
Scale
};
/*use plotters_gtk4::Paintable;*/
use std::time::Instant;
mod engine;
@ -40,10 +38,6 @@ fn main() -> glib::ExitCode {
.build();
app.connect_activate(|app| {
/* run time is typically 77 ms, but at one point i was consistently
getting more like 260 ms. it's not clear what was causing that. building
from scratch seemed to give the short run time, and waiting a while
since the last build might also have had some effect */
const TIME_RES: usize = 100;
let start_time = Instant::now();
let eigval_series = engine::rand_eigval_series(60, TIME_RES);