Skip to content

Commit ad071e2

Browse files
committed
remove logging
1 parent e04f196 commit ad071e2

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

turbopack/crates/turbo-persistence/src/collector.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ pub struct Collector<K: StoreKey, const SIZE_SHIFT: usize = 0> {
1818
impl<K: StoreKey, const SIZE_SHIFT: usize> Collector<K, SIZE_SHIFT> {
1919
/// Creates a new collector. Note that this allocates the full capacity for the entries.
2020
pub fn new() -> Self {
21-
println!(
22-
"Collector::new({} items, {} MiB)",
23-
MAX_ENTRIES_PER_INITIAL_FILE >> SIZE_SHIFT,
24-
(DATA_THRESHOLD_PER_INITIAL_FILE >> SIZE_SHIFT) / 1024 / 1024
25-
);
2621
Self {
2722
total_key_size: 0,
2823
total_value_size: 0,

turbopack/crates/turbo-persistence/src/db.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -505,9 +505,6 @@ impl TurboPersistence {
505505
);
506506
}
507507

508-
println!("Compaction started");
509-
let start = std::time::Instant::now();
510-
511508
let mut sequence_number;
512509
let mut new_sst_files = Vec::new();
513510
let mut indicies_to_delete = Vec::new();
@@ -534,9 +531,6 @@ impl TurboPersistence {
534531

535532
self.active_write_operation.store(false, Ordering::Release);
536533

537-
let elapsed = start.elapsed();
538-
println!("Compaction finished in {}ms", elapsed.as_millis());
539-
540534
Ok(())
541535
}
542536

0 commit comments

Comments
 (0)