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

test: add stress tests using Hurl #536

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

test: add stress tests using Hurl #536

wants to merge 1 commit into from

Conversation

matthiasschaub
Copy link
Collaborator

@matthiasschaub matthiasschaub commented Feb 23, 2025

Add stress tests using Hurl. Stress tests are run against a running instance of the Sketch Map Tool.

  1. A sketch map is created and saved to disk as PDF
  2. Convert the PDF to an image
  3. Upload image 12 times in parallel to digitize sketches

The uploaded image does not contain any sketches. This is not important because the machine learning pipeline is executed nonetheless.

We upload 12 images in parallel because Celery is started with a concurrency setting of 6. We want to test how Celery handles more than 6 requests at the same time.

hurl --test create.hurl
magick -density 300 sketch-map.pdf sketch-map.png
hurl --test --jobs 12 --repeat 12 digitize.hurl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant