Skip to content

feat: add throughput-aware progress reporting for hashing#55

Closed
KGFCH2 wants to merge 1 commit into
Rakshat28:mainfrom
KGFCH2:feature/hashing-progress-reporting
Closed

feat: add throughput-aware progress reporting for hashing#55
KGFCH2 wants to merge 1 commit into
Rakshat28:mainfrom
KGFCH2:feature/hashing-progress-reporting

Conversation

@KGFCH2

@KGFCH2 KGFCH2 commented May 11, 2026

Copy link
Copy Markdown
Contributor

@Rakshat28

Addresses #46.

Summary

This PR introduces a richer and more informative progress reporting system for the hashing phase of bdstorage, improving visibility and usability during long-running scans.

Key Changes

Byte-Level Progress Tracking

  • Reworked hashing progress measurement from:
    • "files completed"
    • to "bytes processed"
  • Produces a significantly smoother and more accurate progress bar, especially for datasets containing a mix of very small and extremely large files.

Performance Metrics

  • Added real-time throughput and ETA reporting.
  • Users can now monitor:
    • Current processing speed
    • Estimated completion time
    • Overall scan progress

Terminal-Aware Output

  • Implemented automatic detection for non-interactive output environments.
  • ANSI escape sequences are now suppressed when output is:
    • Redirected
    • Piped
    • Logged to files
  • Ensures clean, script-friendly terminal output.

Quiet Mode

  • Added a -q flag for silent execution.
  • Useful for automation, scripting, and minimal-output workflows.

Result

These improvements make bdstorage feel substantially more responsive and polished when processing large-scale datasets, including multi-terabyte archives and network-mounted storage collections.

@Rakshat28 Rakshat28 closed this May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants