More accurate index duration display
This commit is contained in:
parent
f9a6d6b6d4
commit
25b36be073
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ pub fn update(db: &DB) -> Result<()> {
|
||||||
populate(db)?;
|
populate(db)?;
|
||||||
info!(
|
info!(
|
||||||
"Library index update took {} seconds",
|
"Library index update took {} seconds",
|
||||||
start.elapsed().as_secs()
|
start.elapsed().as_millis() as f32 / 1000.0
|
||||||
);
|
);
|
||||||
#[cfg(feature = "profile-index")]
|
#[cfg(feature = "profile-index")]
|
||||||
flame::dump_html(&mut fs::File::create("index-flame-graph.html").unwrap()).unwrap();
|
flame::dump_html(&mut fs::File::create("index-flame-graph.html").unwrap()).unwrap();
|
||||||
|
|
Loading…
Add table
Reference in a new issue