Needed something like this for a few of my "one time runs" scripts to generate files, figured it would be useful to those who dont want to write everything but would like to know accurate ETA, percent, amount/total, and operations per second. as well as a nice little visual for quick glances!
Just call it every itteration, and it will print the first/last 3, every 10%, as well as 25% and 75%, and additionally every second incrementing so to not spam the console. Capped to an update every minute.