chore: Add name string for bank_serialize measure! (#31926)
The measurement is later logged, so include a name to more clearly identify what the measurement was.
This commit is contained in:
parent
29d7a57cce
commit
858ea5a143
|
@ -1303,10 +1303,10 @@ pub fn add_bank_snapshot(
|
|||
)?;
|
||||
Ok(())
|
||||
};
|
||||
let (bank_snapshot_consumed_size, bank_serialize) = measure!(serialize_snapshot_data_file(
|
||||
&bank_snapshot_path,
|
||||
bank_snapshot_serializer
|
||||
)?);
|
||||
let (bank_snapshot_consumed_size, bank_serialize) = measure!(
|
||||
serialize_snapshot_data_file(&bank_snapshot_path, bank_snapshot_serializer)?,
|
||||
"bank serialize"
|
||||
);
|
||||
add_snapshot_time.stop();
|
||||
|
||||
let status_cache_path = bank_snapshot_dir.join(SNAPSHOT_STATUS_CACHE_FILENAME);
|
||||
|
|
Loading…
Reference in New Issue