Closed roo2 closed 2 years ago
Maybe I'm missing something, but it's hard to see if locust is running the test as intended. Could you upload screenshots/recordings of what a successfully test looks like?
you have to run locust
and then open a browser at http://localhost:8089/ locust docs
I added some screenshots to pbxlJb-1sw-p2#how-many-new-preview-requests-per-second-can-mshots-handle you have to go to the "Charts" tab e.g.
We have plans which will put a significantly increased load on mshots, I'm adding these scripts to test whether mshots is up to the task and also to have a way to test future performance improvements.
I went with a python script using the locust framework because we've used python for one off things around wpcom and I think the framework is quite nice.
p2 link discussing this: pbxlJb-1sw-p2
Test instructions
Follow instructions in scripts/performance-testing/README.md and ensure that they capture everything that needs to be done on your machine.