diff --git a/tig-benchmarker/Cargo.toml b/tig-benchmarker/Cargo.toml
index 4ccf0b3b..01b5bdf3 100644
--- a/tig-benchmarker/Cargo.toml
+++ b/tig-benchmarker/Cargo.toml
@@ -6,7 +6,6 @@ repository.workspace = true
edition.workspace = true
[dependencies]
-anyhow = "1.0.81"
futures = { version = "0.3.30" }
gloo-timers = { version = "0.3.0", optional = true, features = ["futures"] }
js-sys = { version = "0.3.68", optional = true }
@@ -16,7 +15,6 @@ rand_distr = { version = "0.4.3", default-features = false, features = [
"alloc",
] }
serde = { version = "1.0", features = ["derive"] }
-serde_json = { version = "1.0.113", features = ["preserve_order"] }
serde-wasm-bindgen = { version = "0.6.5", optional = true }
tig-api = { path = "../tig-api" }
tig-structs = { path = "../tig-structs" }
diff --git a/tig-benchmarker/src/benchmarker/mod.rs b/tig-benchmarker/src/benchmarker/mod.rs
index 47719e15..7d579af5 100644
--- a/tig-benchmarker/src/benchmarker/mod.rs
+++ b/tig-benchmarker/src/benchmarker/mod.rs
@@ -237,7 +237,6 @@ async fn run_once(num_workers: u32, ms_per_benchmark: u32) -> Result<()> {
.await;
{
let mut state = state().lock().await;
- let now = time();
(*state).time_left = Some(Timer::new(ms_per_benchmark as u64));
}
loop {
@@ -267,6 +266,8 @@ async fn run_once(num_workers: u32, ms_per_benchmark: u32) -> Result<()> {
{
// workers exit when iter returns None
(*(*nonce_iter).lock().await).empty();
+ let mut state = state().lock().await;
+ (*state).time_left = None;
};
// transfers solutions computed by workers to benchmark state
diff --git a/tig-benchmarker/src/benchmarker/setup_job.rs b/tig-benchmarker/src/benchmarker/setup_job.rs
index 93c6bc4b..0c546dd8 100644
--- a/tig-benchmarker/src/benchmarker/setup_job.rs
+++ b/tig-benchmarker/src/benchmarker/setup_job.rs
@@ -7,7 +7,7 @@ use rand::{
};
use rand_distr::Distribution;
use std::collections::HashMap;
-use tig_structs::{config::WasmVMConfig, core::*};
+use tig_structs::core::*;
use tig_utils::{FrontierOps, PointOps};
pub async fn execute() -> Result<()> {
@@ -53,6 +53,7 @@ pub async fn execute() -> Result<()> {
async fn find_settings_to_recompute() -> Result