[doc] Add an ADR on the introduction of performance tests#6330
[doc] Add an ADR on the introduction of performance tests#6330sbegaudeau wants to merge 1 commit intomasterfrom
Conversation
|
|
||
| It allows us to define our tests in JavaScript. | ||
| Given that we can use it in JavaScript, it should also be quite easy to integrate in our development process. | ||
| It should be quite easy for us to create custom npm packages to share utilirt services to reuse in other tests for downstream projects. |
pcdavid
left a comment
There was a problem hiding this comment.
Maybe it's out of scope for this particular ADR, but it's not clear to me where/how/when the tests will be executed.
I guess for a first iteration we simply need to get things running we can run everything locally on our dev machines, but this means the DB, the backend, and Gatling itself will run on the same host, competing for resources and avoiding all/most network-related costs.
doc/adrs/225_add_test_suites_to_measure_the_performance_of_sirius_web_based_applications.adoc
Outdated
Show resolved
Hide resolved
I have the same concerns and right know, I don't know. I just want to ensure that they are executed frequently on our CI to ensure that they are still working properly but to really extract some metrics that we can keep over time, we will have to figure it out. Maybe have a dedicated machine running Sirius Web somewhere to use as a target to run the test. |
50d40a4 to
15550f7
Compare
15550f7 to
434fae3
Compare
Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
434fae3 to
7b319a5
Compare
Signed-off-by: Stéphane Bégaudeau stephane.begaudeau@obeo.fr
Pull request template
General purpose
What is the main goal of this pull request?
Project management
priority:andpr:labels been added to the pull request? (In case of doubt, start with the labelspriority: lowandpr: to review later)area:,difficulty:,type:)CHANGELOG.adocbeen updated to reference the relevant issues?CHANGELOG.adoc? (Including changes in the GraphQL API)CHANGELOG.adoc? For example indoc/screenshots/2022.5.0-my-new-feature.pngArchitectural decision records (ADR)
[doc]?CHANGELOG.adoc?Dependencies
CHANGELOG.adoc?CHANGELOG.adoc?Frontend
This section is not relevant if your contribution does not come with changes to the frontend.
General purpose
Typing
We need to improve the typing of our code, as such, we require every contribution to come with proper TypeScript typing for both changes contributing new files and those modifying existing files.
Please ensure that the following statements are true for each file created or modified (this may require you to improve code outside of your contribution).
useMutation<DATA_TYPE, VARIABLE_TYPE>(…)useQuery<DATA_TYPE, VARIABLE_TYPE>(…)useSubscription<DATA_TYPE, VARIABLE_TYPE>(…)useMachine<CONTEXT_TYPE, EVENTS_TYPE>(…)useState<STATE_TYPE>(…)?.(if the GraphQL API specifies that a field cannot benull, do not treat it has potentiallynullfor example)let diagram: Diagram | null = null;)Backend
This section is not relevant if your contribution does not come with changes to the backend.
General purpose
Architecture
Review
How to test this PR?
Please describe here the various use cases to test this pull request