global: adding support for safe lengths

This commit is contained in:
nym21
2026-05-06 15:33:07 +02:00
parent da7671744f
commit 086bfd9938
177 changed files with 2445 additions and 2049 deletions

View File

@@ -50,14 +50,16 @@ fn main() -> Result<()> {
indexer.index(&reader, &client, &exit)?;
info!("Done in {:?}", i.elapsed());
sleep(Duration::from_secs(60));
// We want to benchmark the drop too
drop(indexer);
sleep(Duration::from_secs(10));
sleep(Duration::from_secs(60));
Mimalloc::collect();
sleep(Duration::from_secs(10));
sleep(Duration::from_secs(60));
Ok(())
}