Skip to content

Commit 899d31b

Browse files
committed
Try increase delay in benchmark
Signed-off-by: Ludvig Liljenberg <[email protected]>
1 parent 169e34b commit 899d31b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hyperlight_host/benches/benchmarks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ fn guest_call_benchmark(c: &mut Criterion) {
142142
start_barrier_clone.wait();
143143

144144
// Small delay to ensure the guest function is running in VM before interrupting
145-
thread::sleep(std::time::Duration::from_millis(1));
145+
thread::sleep(std::time::Duration::from_millis(100));
146146
let kill_start = Instant::now();
147147
assert!(interrupt_handle.kill());
148148
kill_start

0 commit comments

Comments
 (0)