Script to populate performance testdata
As part of the Performance Testing, - as a followup to https://gitlab.com/gitlab-org/gitlab-ce/issues/57881
It would be good to have a separate script that would populate perf testdata
What are the different types of testdata: To start with we will have the following:
- A heavy MR page (with very large files committed, lots of commits)
- A heavy Issues Page (with lots of disscussions)
- Very large projects
- Todo Page (100 Todo items)
- Issues List Page (500 Issues)
- MRs List Page (500 MRs)
This is based on the URLs found in https://gitlab.com/gitlab-com/large-staging-collider/tree/master/urls
How can it be done
- Have a folder under
db/<review_apps>/fixtures
- This way we can populate by running a rake task. - How easy would it be to run this on review apps? - Use APIs to create the testdata - This can be run across any instance/review apps. - How quick would it be compared to having fixtures?
Where can these scripts be used
- Before running Sitespeed Perf Measurements on ReviewApps
- On the Perf Test Bed - to generate data
- Ideally across any instance to generate Performance TestData