Skip to content

Commit

Permalink
Run benchmarks of the constraint-based runtime for larger input sizes…
Browse files Browse the repository at this point in the history
… now it is faster
  • Loading branch information
twright committed Dec 11, 2024
1 parent 7e19ef3 commit b3f3097
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions benches/simple_add.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ async fn monitor_outputs_typed_queuing(num_outputs: usize) {
}

fn from_elem(c: &mut Criterion) {
let sizes = vec![1, 10, 100, 500, 1000, 2000, 5000, 10000, 100000, 1000000];
let sizes = vec![
1, 10, 100, 500, 1000, 2000, 5000, 10000, 25000, 100000, 1000000,
];

let tokio_rt = tokio::runtime::Builder::new_current_thread()
.build()
Expand All @@ -137,7 +139,7 @@ fn from_elem(c: &mut Criterion) {
group.measurement_time(std::time::Duration::from_secs(30));

for size in sizes {
if size < 5000 {
if size <= 25000 {
group.bench_with_input(
BenchmarkId::new("simple_add_constraints", size),
&size,
Expand Down

0 comments on commit b3f3097

Please sign in to comment.