From db53cebbd1f075ebf69f3478360d9568f0821087 Mon Sep 17 00:00:00 2001 From: Tzahi Taub Date: Mon, 22 Jul 2024 16:41:57 +0300 Subject: [PATCH] chore: add flow test input files update instructions --- crates/committer_cli/benches/committer_bench.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/crates/committer_cli/benches/committer_bench.rs b/crates/committer_cli/benches/committer_bench.rs index eb81061e..a83442c4 100644 --- a/crates/committer_cli/benches/committer_bench.rs +++ b/crates/committer_cli/benches/committer_bench.rs @@ -1,5 +1,12 @@ #![allow(clippy::unwrap_used)] +// This file is for benchmarking the committer flow. +// The input files for the different benchmarks are downloaded from GCS, using the prefix stored in +// committer_cli/src/tests/flow_test_files_prefix. In order to update them, generate a new random +// prefix (the hash of the initial new commit can be used) and update it in the mentioned file. +// Then upload the new files to GCS with this new prefix (run e.g., +// gcloud storage cp LOCAL_FILE gs://committer-testing-artifacts/NEW_PREFIX/tree_flow_inputs.json). + use std::{collections::HashMap, sync::Arc}; use committer::{