[doc] Add a pitch on the measurement of the performance of Sirius Web based applications#6327
Conversation
| We should have a tool and some patterns to perform performance testing. | ||
| It should allow us to measure the performance of the GraphQL HTTP API, the REST API and the WebSocket API simultaneously in one test if necessary. | ||
| It should provide us with clear reports allowing us to track the performance of various use cases over time. | ||
| We should be able to have keep some history of those performance reports. |
There was a problem hiding this comment.
We should keep a history of those performance reports. instead ?
|
|
||
| == Problem | ||
|
|
||
| We want to be able to measure the performance of Sirius Web based applications. |
There was a problem hiding this comment.
Maybe make the why more explicit.
Measure and track the changes across time to:
- detect any significant performance regressions;
- identify the most important performance issues to prioritize them;
- track progress on any future performance improvement work.
|
The document does not indicate what kind of performance we want to focus on.
|
I'll mention something about that because right now, I don't know. We will need to start measuring things and see what it reveals but these are good ideas to explore. |
… based applications Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
d782226 to
697e239
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