cubed-dev / cubed

Bounded-memory serverless distributed N-dimensional array processing
https://cubed-dev.github.io/cubed/
Apache License 2.0
116 stars 14 forks source link

Align tqdm progress bars #567

Closed tomwhite closed 3 weeks ago

tomwhite commented 3 weeks ago

Before:

create-arrays: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 209.04it/s]
op-003 add: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 814.51it/s]

After:

create-arrays: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 205.09it/s]
op-003 add   : 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 799.37it/s]

The improvement is noticeable when there are lots of operations in a computation.

tomwhite commented 3 weeks ago

Slight improvement (aligning the colon):

create-arrays: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 18.74it/s]
op-003 add:    100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 74.67it/s]