From 0520dbefe7a2622a0b14804be66ad51282a606c9 Mon Sep 17 00:00:00 2001 From: Bugen Zhao Date: Thu, 6 Jun 2024 18:04:45 +0800 Subject: [PATCH] increase nexmark parse batch size and revert cargo.toml Signed-off-by: Bugen Zhao --- Cargo.toml | 3 --- src/connector/benches/nexmark_integration.rs | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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 {