mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
chore(bench): add RUNTIME_SNAPSHOT.bin (#18269)
This commit is contained in:
parent
f6c364fcf6
commit
4c1f3daa83
1 changed files with 5 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue