gunnarmorling / 1brc

1️⃣🐝🏎️ The One Billion Row Challenge -- A fun exploration of how quickly 1B rows from a text file can be aggregated with Java
https://www.morling.dev/blog/one-billion-row-challenge/
Apache License 2.0
5.69k stars 1.72k forks source link

`create_measurements.py` doesn't show correct progress bar #721

Closed koutoftimer closed 4 months ago

koutoftimer commented 4 months ago

Launching src/main/python/create_measurements.py outputs wrong progress bar

$ python create_measurements.py 1_000_000_000
Estimated max file size is:  27.9 GiB.
True size is probably much smaller (around half).
Building test data...
[                                                  ] 0%
Test data successfully written to 1brc/data/measurements.txt
Actual file size:  14.7 GiB
Elapsed time: 24 minutes 41 seconds
Test data build complete.

It always stays at 0% even when file is generated.