Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

rust: build ente-ml optimized in the dev profile so its tests stay fast

laurenspriemff21e44d6ca0
diff --git a/rust/Cargo.toml b/rust/Cargo.toml
index cd51b08990..fab7d7c8c1 100644
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -108,3 +108,7 @@ zip = { version = "8.6.0", default-features = false, features = ["deflate-flate2
# Unoptimized Argon2 makes production-strength derivations dominate test runtime.
[profile.dev.package.argon2]
opt-level = 3
+
+# Unoptimized HNSW construction makes the vecdb recall fixtures dominate test runtime.
+[profile.dev.package.ente-ml]
+opt-level = 3