Skip to content

Support for Progress Bar with Estimated Disk I/O #1735

Description

@Kobiwizards

Why: Users processing large files want to know read/write throughput alongside iteration progress.

Description:
Add a show_io parameter that displays current disk read/write rates. Useful for data processing pipelines where I/O is the bottleneck. Should show separate read and write rates or combined throughput. Uses platform-specific APIs to measure I/O for the current process.

Example use case:

python
for file in tqdm(file_list, show_io=True):
# Shows: "45%|████▌ | 45/100 [00:30<00:35, read: 45MB/s, write: 12MB/s]"
process_file(file)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions