-
Notifications
You must be signed in to change notification settings - Fork 2
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
Table of motors: optimize startup performance of OPI-based ToM #5320
Comments
Possible things that could help:
|
Initial investigation:
This leads me to believe that the primary performance issue here is the sheer number of widgets being drawn. |
Is this inside a linking container? If you remove them from the linking container is it better? |
No, in point 2 above I removed all linking containers and copied them into the top level, this had little to no performance impact
If I remove the 5 icon widgets for each motor the performance becomes 2x better, which is in line with the performance being based on total number of widgets.
For comparison: |
Ahhh, ok, brilliant. OK unless anyone else has a better plan I think it is back to Java. But I feel we have learned something. |
If we create a specific motor widget in CSS we could cut the number of widgets down significantly |
@DominicOram yes, that's the approach I was thinking of taking to continue onwards with this ticket. |
In a discussion with @ThomasLohnert and @DominicOram about different ways of implementing this in CSS, we have come to the conclusion that we should go back to a java-based table of motors for now. I'll write up what we found in this ticket on the wiki. Edit: added at https://github.com/ISISComputingGroup/ibex_developers_manual/wiki/OPI-programming-tips-and-limitations |
As an instrument scientist I do not want to have performance regressions in the table of motors.
We are trying to move to an OPI-based ToM in #4633 . As noted in the comments of that ticket, the performance of the OPI based solution is about 3x slower than the java-based implementation that we had previously when initially opening the ToM.
Possible solutions:
Acceptance criteria:
The text was updated successfully, but these errors were encountered: