Repository navigation
setup time (one line change) - #6351
Merged
Merged
Conversation
Bob Brown (bobbrow)
approved these changes
Oct 19, 2020
Sean McManus (sean-mcmanus)
approved these changes
Oct 19, 2020
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
telemetry request: #5759
These are the timestamps:
firstFile: when the extension is activated by realActivation and the active text editor is a c/cpp file. Defined only for "cold" start cases.
didOpen: when the file appears in the editor (all files including the first file). Defined for "warm" start cases.
setup: when the Intellisense_client constructor is completed and we give the control back to the user at the end of textDocument_didOpen in language server side
updateRange: when publishDiagnostics is completed
We defined an extra startTime timestamp: when the extension activates, if the active text document is a c/cpp file, the startTime for this file is set to firstFile timestamp, otherwise it is set to didOpen timestamp.
These are the durations that are being calculated based on timestamps and logged:
activationTime = firstFile - didOpen logged only for the first file (cold start)
setupTime = setup - didOpen
updateRangeTime = updateRange - setup
totalTime = updateRange - startTime
there is a related pull request on the native side.