Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading + queuing on files is abnormally long on Windows machines #245

Open
2 tasks done
sebastianMindee opened this issue Jun 24, 2024 · 0 comments
Open
2 tasks done
Assignees
Labels
bug Something isn't working

Comments

@sebastianMindee
Copy link
Collaborator

sebastianMindee commented Jun 24, 2024

Prerequisites

Put an X between the brackets on this line if you have done all of the following:

  • Reproduced the problem or exposed a new need
  • 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
@sebastianMindee sebastianMindee added the bug Something isn't working label Jun 24, 2024
@sebastianMindee sebastianMindee self-assigned this Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant