Skip to content

Commit 05d9a9c

Browse files
committed
chore: development v0.3.47 - comprehensive testing complete [auto-commit]
1 parent c50bf2a commit 05d9a9c

File tree

11 files changed

+226
-215
lines changed

11 files changed

+226
-215
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ exclude = [
3636
# Workspace Package Metadata (inherited by all crates)
3737
# ─────────────────────────────────────────────────────────────────────────────
3838
[workspace.package]
39-
version = "0.3.46"
39+
version = "0.3.47"
4040
edition = "2024"
4141
rust-version = "1.85"
4242
license = "MPL-2.0 OR LicenseRef-UFFS-Commercial"

LOG/Output

Lines changed: 161 additions & 212 deletions
Large diffs are not rendered by default.

crates/uffs-cli/src/commands/output.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,12 @@ pub(super) fn write_index_streaming<W: Write>(
417417
}
418418

419419
let rows_ms = t_rows.elapsed().as_millis();
420+
#[allow(clippy::print_stderr, clippy::semicolon_outside_block)]
421+
{
422+
eprintln!(
423+
"[TIMING] streaming output: cache={cache_ms}ms rows={rows_ms}ms count={row_count}"
424+
);
425+
}
420426
tracing::info!(
421427
cache_ms,
422428
rows_ms,

crates/uffs-mft/src/reader/index_read.rs

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,29 @@ impl MftReader {
632632

633633
// Set reserved allocated bytes from volume data so tree metrics
634634
// adds it to the root's tree_allocated (C++ parity).
635-
index.reserved_allocated_bytes = volume_data.reserved_allocated_bytes();
635+
let ra = volume_data.reserved_allocated_bytes();
636+
eprintln!(
637+
"[TIMING] IOCP+parse: {}ms records: {}",
638+
start_time.elapsed().as_millis(),
639+
index.records.len()
640+
);
641+
eprintln!(
642+
"[DIAG] reserved_allocated_bytes={} (total_reserved={} mft_zone={}..{} bpc={})",
643+
ra,
644+
volume_data.total_reserved,
645+
volume_data.mft_zone_start,
646+
volume_data.mft_zone_end,
647+
volume_data.bytes_per_cluster
648+
);
649+
info!(
650+
reserved_allocated_bytes = ra,
651+
total_reserved = volume_data.total_reserved,
652+
mft_zone_start = volume_data.mft_zone_start,
653+
mft_zone_end = volume_data.mft_zone_end,
654+
bytes_per_cluster = volume_data.bytes_per_cluster,
655+
"📊 reserved_allocated_bytes for tree_allocated root adjustment"
656+
);
657+
index.reserved_allocated_bytes = ra;
636658

637659
// Compute tree metrics (directory sizes, descendant counts).
638660
// The legacy path gets this from `from_parsed_records()`, but the
@@ -648,6 +670,7 @@ impl MftReader {
648670
"[PARITY_TRACE] SlidingIocpInline: compute_tree_metrics() done"
649671
);
650672
let tree_ms = tree_start.elapsed().as_millis();
673+
eprintln!("[TIMING] tree_metrics: {}ms", tree_ms);
651674
info!(
652675
tree_metrics_ms = tree_ms,
653676
"✅ Tree metrics computed for inline index"
@@ -660,6 +683,10 @@ impl MftReader {
660683
let ext_ms = ext_start.elapsed().as_millis();
661684

662685
let total_index_ms = start_time.elapsed().as_millis();
686+
eprintln!(
687+
"[TIMING] ext_index: {}ms total_index: {}ms",
688+
ext_ms, total_index_ms
689+
);
663690
info!(
664691
total_index_ms,
665692
tree_ms,

dist/latest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.3.46
1+
v0.3.47

dist/v0.3.47/checksums.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
5bb8760259a332e0e39c93dd168b8e5c8b07c2748ff7fc5fe6e51db4c534ee39 dist/v0.3.47/uffs/uffs-windows-x64.exe (70087168 bytes)
2+
134e60f89b3e050364812464fa3673bad5192a23fde2b4d4a77865a21b14be70 dist/v0.3.47/uffs_mft/uffs_mft-windows-x64.exe (23200768 bytes)
3+
3a6b8901efda3c6d4984e217aabe4e5ac70ff27eba9629aeb2ea796e8e63800a dist/v0.3.47/uffs_tui/uffs_tui-windows-x64.exe (67368448 bytes)
4+
b5d36364a3cd7a61e91c3e4c824058450236f9638c67bac6fbaa2705223bcb96 dist/v0.3.47/uffs_gui/uffs_gui-windows-x64.exe (1682944 bytes)

0 commit comments

Comments
 (0)