Skip to content

feat: show ETA in progress bars - #393

Open
kevinjqliu wants to merge 1 commit into
clflushopt:mainfrom
kevinjqliu:kevinjqliu/codex-progress-bar-eta
Open

feat: show ETA in progress bars#393
kevinjqliu wants to merge 1 commit into
clflushopt:mainfrom
kevinjqliu:kevinjqliu/codex-progress-bar-eta

Conversation

@kevinjqliu

Copy link
Copy Markdown
Collaborator

Closes #358

Description

Adds ETA estimate to CLI progress bars. Throughput (Bytes/second ) is harder to implement since progress is currently reported in chunks, rows, or Parquet row groups rather than bytes.

dat.with.progress.mov


fn bar_template() -> String {
format!(
"{{msg:!{LABEL_WIDTH}}} [{{bar:{BAR_WIDTH}.cyan/blue}}] ({{percent:>3}}%) ETA {{eta}}"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as before, with ETA {{eta}} added to the end

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.

[FEATURE] Progress Bars show MB/s and ETA

1 participant