mindee-api-python
mindee-api-python copied to clipboard
Loading + queuing on files is abnormally long on Windows machines
Prerequisites
Put an X between the brackets on this line if you have done all of the following:
- [x] Reproduced the problem or exposed a new need
- [x] Checked the GitHub existing issues
Description
Loading files for asynchronous polling & sending
Steps to Reproduce
Load document with:
input_source = client.source_from_path(FILE_PATH)
parsing_result = client.enqueue(product.GeneratedV1, input_source, endpoint=ENDPOINT)
Time it.
Expected behavior:
Processing time under 300ms for small files (<1mb).
Actual behavior:
Processing time well over 2.5 seconds
Reproduces how often:
Happens with all tested files so far (JPEG images).
Versions
Most likely all SDK versions. Windows x64 python 3.12
Additional Information
- Not tested on x86.
- Not tested for non-image sources
- Not tested on other python versions yet