keyfork-qrcode: add multithreaded scanner #82

Manually merged
ryan merged 5 commits from ryansquared/test-threaded-scan into main 2025-05-10 20:21:18 +00:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 18773d351c - Show all commits

View File

@ -170,6 +170,8 @@ fn dbg_elapsed(count: u64, instant: Instant) {
let elapsed = instant.elapsed().as_secs();
let framerate = count as f64 / elapsed as f64;
eprintln!("framerate: {count}/{elapsed} = {framerate}");
std::thread::sleep(std::time::Duration::from_secs(5));
}
#[derive(Debug)]