Skip to content

Commit

Permalink
Downgrade how much virtual memory benches try to take. It shouldn't n…
Browse files Browse the repository at this point in the history
…eed much at all.
  • Loading branch information
rdaum committed Jan 8, 2024
1 parent 1f786c4 commit 23ece76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/kernel/benches/vm_benches.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use moor_values::var::Var;
use moor_values::{AsByteBuffer, NOTHING, SYSTEM_OBJECT};

async fn create_worldstate() -> TupleBoxWorldStateSource {
let (ws_source, _) = TupleBoxWorldStateSource::open(None, 1 << 28).await;
let (ws_source, _) = TupleBoxWorldStateSource::open(None, 1 << 24).await;
let mut tx = ws_source.new_world_state().await.unwrap();
let _sysobj = tx
.create_object(SYSTEM_OBJECT, NOTHING, SYSTEM_OBJECT, BitEnum::all())
Expand Down Expand Up @@ -150,6 +150,7 @@ async fn do_program(program: &str, max_ticks: usize, iters: u64) -> Duration {
}
tx.rollback().await.unwrap();

drop(state_source);
cumulative
}

Expand Down

0 comments on commit 23ece76

Please sign in to comment.