Skip to content

Update the load testing script to make it shorter - #547

Merged
julienw merged 1 commit into
firefox-devtools:masterfrom
julienw:reduce-duration-of-load-testing
Feb 21, 2025
Merged

Update the load testing script to make it shorter#547
julienw merged 1 commit into
firefox-devtools:masterfrom
julienw:reduce-duration-of-load-testing

Conversation

@julienw

@julienw julienw commented Feb 20, 2025

Copy link
Copy Markdown
Contributor

Last time we looked at it with @canova, I remembered we thought that the 5 minutes (an arbitrary duration I picked when I initially worked on that) were too long. So I reduced this to 2:30 minutes instead. This makes the duration for the entire script about 15 minutes instead of 30 minutes.

Please tell me what you think @canova !


echo ">>> Run a load test operation: 200 clients during 5 minutes (3/3)"
molotov -w 200 -d 300 publish_short_requests.py
molotov -w 200 -d 150 publish_short_requests.py

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: I kept all 3 runs because we might still have some hiccups on one of them sometimes. I actually got one today when running them. Running 3 times makes it clearer what is a hiccup and what is normal (usually it's 2 vs 1).

@julienw
julienw requested a review from canova February 20, 2025 15:49

@canova canova left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed 30 minutes is too long. This looks good to me, thanks!

Comment thread tools/load-testing-before-deployment.sh Outdated
molotov -w 200 -d 300 --ramp-up 60 publish_short_requests.py
molotov -w 200 -d 150 --ramp-up 60 publish_short_requests.py

echo ">>> Run a load test operation: 200 clients during 5 minutes (1/3)"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also update the comments that are referencing "5 minutes" here and below?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh right, I wanted to do it and forgot !! Thanks for catching it

@julienw
julienw force-pushed the reduce-duration-of-load-testing branch from d991481 to 037e9c6 Compare February 21, 2025 10:01
@julienw
julienw enabled auto-merge (squash) February 21, 2025 10:01
@julienw
julienw merged commit 6d73962 into firefox-devtools:master Feb 21, 2025
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.

2 participants