-
Notifications
You must be signed in to change notification settings - Fork 3
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
Performance tests: remaining tasks #1540
Comments
4 tasks
arealmaas
added a commit
that referenced
this issue
Dec 12, 2024
<!--- Provide a general summary of your changes in the Title above --> Add performance tests and run these tests in ci-cd-yt01 workflow ## Description <!--- Describe your changes in detail --> ## Related Issue(s) #1540 - #{issue number} ## Verification - [ ] **Your** code builds clean without any errors or warnings - [x] Manual testing done (required) - [ ] Relevant automated test added (if you find this hard, leave it and we'll help out) ## Documentation - [ ] Documentation is updated (either in `docs`-directory, Altinnpedia or a separate linked PR in [altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if applicable) --------- Co-authored-by: Are Almaas <[email protected]>
4 tasks
arealmaas
added a commit
that referenced
this issue
Dec 12, 2024
<!--- Provide a general summary of your changes in the Title above --> ## Description <!--- Describe your changes in detail --> ## Related Issue(s) - #1540 ## Verification - [ ] **Your** code builds clean without any errors or warnings - [ ] Manual testing done (required) - [ ] Relevant automated test added (if you find this hard, leave it and we'll help out) ## Documentation - [ ] Documentation is updated (either in `docs`-directory, Altinnpedia or a separate linked PR in [altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if applicable)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tasks
Establish stable and performant test runners for GitHub test workflows
In order to yield reproducible and realistic results, we need to have separate runners for the GitHub test workflows to execute, as the free ones supplied by GitHub offer low and very variable performance. Coordinate with team platform.
Establish performance thresholds
We want to be able to track performance regressions, so we need to establish threshold values (eg. P95 RPS values) for the various tests, which will fail the tests if below that threshold.
Define tests and establish workflows for tests
When thresholds are found, we need to create workflows that 1) run one or several performance tests with a particular configuration (duration, VUs etc) 2) parse the results 3) compare the results with defined threshold values and mark the test as either passed or failed
Populate YT01 with data
In order to have a realistic foundation on which the SUT to run, we need to populate the database with a non-trivial amount of data. For now, this is a one-time job.
Enable auto_growth of storage in PostgreSQL
Should be defined in IAC, and if needed clickopsed for existing PostgreSQL instances
Enable sufficient performance tier (max IOPS)
Should be defined in IAC, and if needed clickopsed for existing PostgreSQL instances
Click-ops max_connections to reset to SKU default for all environments
Should be defined in IAC, and if needed clickopsed for existing PostgreSQL instances
The text was updated successfully, but these errors were encountered: