Skip to content

[Console][ProgressHelper] new feature: I think it would be nice to have a estimated time left counter #9560

Closed
@lsv

Description

@lsv

Fx.

$progress->start($output, 5000);
for($i = 0; $i < 5000; $i++) {
   sleep(5);
   $progress->advance();
}

When the progress has counted the first 2-3 elements it would be nice to have a estimated time left after the percent in the console.

 62/5000 [====>---------------------]  63% 1h20min

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