Skip to content

Commit

Permalink
Switched from pyprogrammer/may to Xudong/may (official branch)
Browse files Browse the repository at this point in the history
Waiting for Xudong to update crates.io to publish DAM to crates.
  • Loading branch information
pyprogrammer committed Sep 6, 2024
1 parent 505cb68 commit 36c76a4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 21 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ enum_delegate = "0.2.0"
derive_more = "0.99.17"
bson = "2.7.0"
crossbeam = { version = "0.8.4" }
may = { git = "https://github.com/pyprogrammer/may.git", optional = true, features = [
may = { git = "https://github.com/Xudong-Huang/may.git", optional = true, features = [
"rand_work_steal",
] }
parking_lot = "0.12.1"
Expand Down
15 changes: 2 additions & 13 deletions benches/benchmark_sst.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
use dam::channel::*;
use dam::context::Context;
use dam::context_tools::*;
use dam::shim::RunMode;
use dam::simulation::*;
use dam::types::DAMType;
use dam::utility_contexts::*;
Expand Down Expand Up @@ -105,12 +104,7 @@ pub fn merge_benchmark(c: &mut Criterion) {
.unwrap(),
)
.unwrap()
.run(
RunOptionsBuilder::default()
.mode(RunMode::FIFO)
.build()
.unwrap(),
);
.run(RunOptionsBuilder::default().build().unwrap());
})
},
);
Expand Down Expand Up @@ -219,12 +213,7 @@ pub fn add_benchmark(c: &mut Criterion) {
.unwrap(),
)
.unwrap()
.run(
RunOptionsBuilder::default()
.mode(RunMode::FIFO)
.build()
.unwrap(),
);
.run(RunOptionsBuilder::default().build().unwrap());
})
});
}
Expand Down
8 changes: 1 addition & 7 deletions benches/benchmark_templates.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
use dam::shim::RunMode;
use dam::templates::ops::*;
use dam::utility_contexts::*;
use dam::{simulation::*, templates::pcu::*};
Expand Down Expand Up @@ -69,12 +68,7 @@ pub fn pcu_benchmark(c: &mut Criterion) {
parent
.initialize(InitializationOptions::default())
.unwrap()
.run(
RunOptionsBuilder::default()
.mode(RunMode::FIFO)
.build()
.unwrap(),
);
.run(RunOptionsBuilder::default().build().unwrap());
})
});
}
Expand Down

0 comments on commit 36c76a4

Please sign in to comment.