Nov-04-2022, 07:15 AM
Hi,
Currently rewriting and testing for a number of different document formats,
and the speed is beyond expectation!
Still, I would like to make 1 improvement, and I am looking for a suggestion:
When I launch the function "worker" it does it's job.
I can print the starttime, and when it is done, the endtime, but in between
the user has no clue how long this batch is ging to take.
If I print the tif filename from within "worker", that contains a sequence number,
but due to the multiprocessing, it prints "erratic", not very nice.
I could also be very arrogant, and print a "Predicted end time", based on some tests,
and the average time per document, knowing how many there are in the batch.
Something more clever ?
thx,
Paul
Currently rewriting and testing for a number of different document formats,
and the speed is beyond expectation!
Still, I would like to make 1 improvement, and I am looking for a suggestion:
When I launch the function "worker" it does it's job.
I can print the starttime, and when it is done, the endtime, but in between
the user has no clue how long this batch is ging to take.
If I print the tif filename from within "worker", that contains a sequence number,
but due to the multiprocessing, it prints "erratic", not very nice.
I could also be very arrogant, and print a "Predicted end time", based on some tests,
and the average time per document, knowing how many there are in the batch.
Something more clever ?
thx,
Paul