mirror of
https://github.com/agersant/polaris
synced 2024-11-10 02:04:13 +00:00
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)?;
|
||||
info!(
|
||||
"Library index update took {} seconds",
|
||||
start.elapsed().as_secs()
|
||||
start.elapsed().as_millis() as f32 / 1000.0
|
||||
);
|
||||
#[cfg(feature = "profile-index")]
|
||||
flame::dump_html(&mut fs::File::create("index-flame-graph.html").unwrap()).unwrap();
|
||||
|
|
Loading…
Reference in a new issue