-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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] Inspector Repaints in Local Clock and Remote Clock Time #5247
Comments
Is there some way to define a regression test that will prevent this regressing again once fixed? |
@akhenry yes, it should be possible with |
The root cause has little to do with the time conductor. The repaints are being caused by CSS, specifically this @charlesh88 Is there something we can do about this? |
Looking at this now with |
The Case So FarThe problem here is related to several things, not just overflow. Regard the following: TC with ticks and RT updating "now" time, constant flashing in the Inspector Same as above, but with a Flex Layout with two plots. Chrome Dev Tools used to delete the TC ticks and "now" time. TC ticks and "now" time removed, with two plots in a Flex Layout. In other tests in a local branch, removing many other elements and setting the l-shell__multipane to be It was Col. Mustard with the Candlestick in the HallI wish.
Next Steps
|
WIP in branch |
@michaelrogers and I talked today about this.
|
Verified Fixed. |
Summary
When analyzing the performance of a Display Layout, we noticed that the Inspector was being re-painted unnecessarily. We should avoid modifying or updating the Inspector unnecessarily to avoid any performance penalties associated with that repaint.
Expected vs Current Behavior
Expected: In Local Clock, Inspector not update or repaint unless the user interacted with an element in the object's Main view.
Current: In Local Clock, Inspector updates and repaints even on a folder with no changes.
Steps to Reproduce
Note: Inspector repaints
Environment
Impact Check List
Additional Information
Repaint-inspector-bug.mov
The text was updated successfully, but these errors were encountered: