Separated simple benchmark

This commit is contained in:
2026-01-29 10:57:17 +01:00
parent 74c4a976dd
commit ccbbf29538
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ use std::sync::Arc;
use osui::prelude::*; use osui::prelude::*;
pub fn main() { pub fn main() {
let engine = SimpleBenchmark::new(Console::new()); let engine = Benchmark::new(Console::new());
engine.run(app); engine.run(app);
} }
+4 -2
View File
@@ -1,9 +1,11 @@
pub mod simple_benchmark; pub mod benchmark;
pub mod commands; pub mod commands;
pub mod console; pub mod console;
pub mod simple_benchmark;
pub use simple_benchmark::*; pub use benchmark::*;
pub use console::*; pub use console::*;
pub use simple_benchmark::*;
use std::{any::Any, sync::Arc}; use std::{any::Any, sync::Arc};