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)
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)