From 339bda52f952d4259763ac165566ee867ba8d38f Mon Sep 17 00:00:00 2001 From: Luni-4 Date: Fri, 20 Nov 2020 16:57:21 +0100 Subject: [PATCH] Compute metrics in release mode for the script Compute `rust-code-analysis` in release mode to speed up metrics computation for large repositories --- check-submodule.py | 1 + 1 file changed, 1 insertion(+) diff --git a/check-submodule.py b/check-submodule.py index 521487e82..c5b31ea9a 100755 --- a/check-submodule.py +++ b/check-submodule.py @@ -65,6 +65,7 @@ def run_rca(repo_dir: pathlib.Path, output_dir: pathlib.Path) -> None: run_subprocess( "cargo", "run", + "--release", "--package", "rust-code-analysis-cli", "--",