diff --git a/Cargo.toml b/Cargo.toml index ed677ebc2b2f1..2380045fb0c50 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -266,9 +266,6 @@ redundant_explicit_links = "allow" [profile.dev] lto = 'off' -[profile.bench] -lto = 'off' - [profile.release] debug = "full" split-debuginfo = "packed" diff --git a/src/connector/benches/nexmark_integration.rs b/src/connector/benches/nexmark_integration.rs index 28596e26eec19..c2c735d1c2089 100644 --- a/src/connector/benches/nexmark_integration.rs +++ b/src/connector/benches/nexmark_integration.rs @@ -58,7 +58,7 @@ fn make_batch() -> Vec { generator .by_ref() - .take(1024) + .take(16384) .map(|(i, e)| { let payload = serde_json::to_vec(&e).unwrap(); SourceMessage {