diff --git a/services/benchmark/src/main.rs b/services/benchmark/src/main.rs index b49d7b9c0..d770e9850 100644 --- a/services/benchmark/src/main.rs +++ b/services/benchmark/src/main.rs @@ -152,11 +152,13 @@ fn shell_main() -> ! { // actual benchmark // get a scalar message - if true { - // measured at 1349 iterations per second in this loop + if false { + // measured at 1349 iterations per second in this loop (hardware); 55/s (hosted) count = benchmark_target::test_scalar(target_conn, count).expect("BENCHMARK: couldn't send test message"); check_count = check_count + 1; } else { + // works on hosted mode, 35/s (hosted) + // does *not* work on hardware count = benchmark_target::test_memory(target_conn, count).expect("BENCHMARK: couldn't send test message"); check_count = check_count + 1; } diff --git a/xtask/src/main.rs b/xtask/src/main.rs index a09f2a2bc..7ebeaa85b 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -186,7 +186,9 @@ fn run(debug: bool) -> Result<(), DynError> { let stream = if debug { "debug" } else { "release" }; let init = [ //"shell", - "gam", + //"gam", + "benchmark", + "benchmark-target", "log-server", "graphics-server", "ticktimer-server",