-
Notifications
You must be signed in to change notification settings - Fork 668
Bring back search performance improvement #15789
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
Conversation
|
|
||
| AnalyticsService.ShutDown(); | ||
|
|
||
| LuceneSearch.LuceneUtilityNodeSearch = null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so what were we leaking? Or rather what were the retention paths? Would make a good tech talk.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LuceneUtilityNodeSearch holds a reference to the DynamoModel.
So the DynamoModel was not being garbage collected because it still had refs.
| foreach (AnnotationModel annotation in Model.Annotations) Model_AnnotationAdded(annotation); | ||
| foreach (ConnectorModel connector in Model.Connectors) Connectors_ConnectorAdded(connector); | ||
|
|
||
| NodeAutoCompleteSearchViewModel = new NodeAutoCompleteSearchViewModel(DynamoViewModel) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we had two of these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, line 598
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hopefully it does not break serviceMode :)
Looks like the intention was to do not use autocomplete in service mode
Purpose
Bring back the search bar perf improvements
Passes here https://master-15.jenkins.autodesk.com/view/DYN/job/DYN-Dynamo/job/DynamoBuildscripts/job/master/2968/
Last test to log size:
PID 3552 Finished test: WillNotAddDupWorkspaceDependencyViewExtensionLoadTest with PrivateBytes = 8608387072
(FILL ME IN) This section describes why this PR is here. Usually it would include a reference to the tracking task that it is part or all of the solution for.
Declarations
Check these if you believe they are true
*.resxfilesRelease Notes
(FILL ME IN) Brief description of the fix / enhancement. Use N/A to indicate that the changes in this pull request do not apply to Release Notes. Mandatory section
Reviewers
(FILL ME IN) Reviewer 1 (If possible, assign the Reviewer for the PR)
(FILL ME IN, optional) Any additional notes to reviewers or testers.
FYIs
(FILL ME IN, Optional) Names of anyone else you wish to be notified of