Mpdreamz / shellprogressbar

ShellProgressBar - display progress in your console application
MIT License
1.44k stars 134 forks source link

Support to Int64 values of newTickCount and maxTicks #83

Closed mauroao closed 2 years ago

mauroao commented 3 years ago

I need to proccess billions of records and show progress, so a sugest change parameters newTickCount, and maxTicks to Int64 intead of Int:

public void Tick(int newTickCount, TimeSpan estimatedDuration, string message = null);
public void Tick(int newTickCount, string message = null);
protected ProgressBarBase(int maxTicks, string message, ProgressBarOptions options);
Mpdreamz commented 2 years ago

Hey @mauroao I would recommend not Tick()ing on every record in this case and only Tick() every 10k or 100k records.