From 67052e8430ce33a847bc360bf4c24f2f20a67bdc Mon Sep 17 00:00:00 2001 From: Devdutt Shenoi Date: Tue, 22 Oct 2024 16:22:36 +0530 Subject: [PATCH 1/2] perf: thin LTO on release --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 0e263dc4d..62dd90070 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,3 +8,7 @@ resolver = "2" # - https://github.com/apache/arrow-rs/pull/6260 # But a new version hasn't been published to crates.io for this yet. So, we are using this patch temporarily. object_store = { git = "https://github.com/apache/arrow-rs.git", rev = "23b6ff9f432e8e29c08d47a315ba0b7cb8758225" } + +[profile.release] +lto = "thin" +codegen-units = 1 From 37df961c1892582b722efd66d4b57b4c0e7435d9 Mon Sep 17 00:00:00 2001 From: Devdutt Shenoi Date: Wed, 23 Oct 2024 15:38:06 +0530 Subject: [PATCH 2/2] thin is default Signed-off-by: Devdutt Shenoi --- Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 62dd90070..0b07b9d6b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,5 +10,4 @@ resolver = "2" object_store = { git = "https://github.com/apache/arrow-rs.git", rev = "23b6ff9f432e8e29c08d47a315ba0b7cb8758225" } [profile.release] -lto = "thin" codegen-units = 1