Skip to content

Commit

Permalink
increase benchmark timeouts to be able to benchmark larger module cou…
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra authored Sep 14, 2022
1 parent 50aa9cc commit 826998c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/next-swc/crates/next-dev/benches/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use util::{
mod bundlers;
mod util;

const MAX_UPDATE_TIMEOUT: Duration = Duration::from_secs(20);
const MAX_UPDATE_TIMEOUT: Duration = Duration::from_secs(60);

fn bench_startup(c: &mut Criterion) {
let mut g = c.benchmark_group("bench_startup");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use tokio::time::timeout;

use crate::{PreparedApp, BINDING_NAME};

const MAX_HYDRATION_TIMEOUT: Duration = Duration::from_secs(30);
const MAX_HYDRATION_TIMEOUT: Duration = Duration::from_secs(120);
const TEST_APP_HYDRATION_DONE: &str = "Hydration done";

/// Closes a browser page on Drop.
Expand Down

0 comments on commit 826998c

Please sign in to comment.