summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2023-03-18 16:00:00 -0400
committerGitHub <noreply@github.com>2023-03-18 21:00:00 +0100
commit4c1f3daa837932ec149b445468b95505f4775ef3 (patch)
tree3c75e905e78fae578c891da977d9d7d6b6465295
parentf6c364fcf6d9eb341d982f7b2084166ca2d25822 (diff)
chore(bench): add RUNTIME_SNAPSHOT.bin (#18269)
-rw-r--r--cli/bench/main.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/cli/bench/main.rs b/cli/bench/main.rs
index a16c65ed4..ac1798b02 100644
--- a/cli/bench/main.rs
+++ b/cli/bench/main.rs
@@ -258,8 +258,11 @@ fn rlib_size(target_dir: &std::path::Path, prefix: &str) -> i64 {
size as i64
}
-const BINARY_TARGET_FILES: &[&str] =
- &["CLI_SNAPSHOT.bin", "COMPILER_SNAPSHOT.bin"];
+const BINARY_TARGET_FILES: &[&str] = &[
+ "CLI_SNAPSHOT.bin",
+ "RUNTIME_SNAPSHOT.bin",
+ "COMPILER_SNAPSHOT.bin",
+];
fn get_binary_sizes(target_dir: &Path) -> Result<HashMap<String, i64>> {
let mut sizes = HashMap::<String, i64>::new();
let mut mtimes = HashMap::<String, SystemTime>::new();