Skip to content

Commit

Permalink
Merge pull request #649 from hermit-os/benches_fix
Browse files Browse the repository at this point in the history
Benches fix
  • Loading branch information
mkroening authored Feb 20, 2024
2 parents 269b217 + 1f2a7e0 commit 5613281
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions benches/complete_binary/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ pub fn run_hello_world(c: &mut Criterion) {
b.iter(|| {
let status = Command::new(&uhyve_path)
.arg(&hello_world_path)
.arg("-m")
.arg("64M")
.stdout(Stdio::null())
.status()
.expect("failed to execute process");
Expand Down
2 changes: 1 addition & 1 deletion benches/vm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pub fn load_vm_hello_world(c: &mut Criterion) {
.iter()
.collect();
let params = Params {
memory_size: Byte::from_u64(1024 * 100_000).try_into().unwrap(),
memory_size: Byte::from_u64(1024 * 4096 * 500).try_into().unwrap(),
..Default::default()
};
let mut vm = Uhyve::new(path, params).expect("Unable to create VM");
Expand Down

0 comments on commit 5613281

Please sign in to comment.