Repository navigation
Improve performance - #242
Open
abigailalexander wants to merge 9 commits into
Open
abigailalexander wants to merge 9 commits into
abigailalexander wants to merge 9 commits into
Conversation
Collaborator
Author
|
Also added the suggested change to make Readback a normal div instead of using the Mui Textfield |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR includes several fixes for code that was causing slow loading times, as well as other related bugs
prepareAutoBatchedto batch pv subscribe and unsubscribe actions. This allows us to load widget heavy screens quickerCACHE_PRESERVE_PERIODoption to config, which can be used to set a timeout for when the PV cache is cleared after a socket is closed. This is needed since in versions <0.10.5 we kept the cache indefinitely, which prevents flashes of #### when loading already-opened screens, but this was removed to make it clearer when PV values are stale. In some contexts (e.g. machine status, which continually rotates through several screens) keeping the cache is helpful. The default is zero (cache is immediately cleared) but applications can now modify this as neededcrypto.randomUUID(), which we use for generating unique ids, does not exist in insecure http contexts. This caused the application to error. If the function doesn't exist, we now fall back to a different crypto function for generating idsWith these changes, the loading time and PVWS connection time for screens should be decreased.