-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Adding telemetry for debugger time-to-start performance #7323
Conversation
@luabud is there work item for this in the extension repo? I can create one if not. I will update that and the news item after. |
Codecov Report
@@ Coverage Diff @@
## master #7323 +/- ##
==========================================
- Coverage 58.36% 58.29% -0.07%
==========================================
Files 493 493
Lines 21667 21690 +23
Branches 3486 3489 +3
==========================================
Hits 12645 12645
- Misses 8242 8266 +24
+ Partials 780 779 -1
Continue to review full report at Codecov.
|
I approved the DS changes, but there are still extension changes pending 🤦♀ |
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.
This seems to measure just the data science debugger, not the standard debugger user by extension!
Shouldn't we do it for both, in a more generic way? I.e. benefit everyone.
This way we can add more telemetry in the future for other bits as well.
Also the class modified is named debugLocationTracker, doesn't feel like the right place to add this perf stuff.
I'd prefer if we created a separate tracker class for perf, and moved it out of data science folder to make it generic to the entire Extension.
@DonJayamanne You can register only one tracker per language. This runs for anytime a debug configuration has language python. Let me know if you have any suggestion on reorganizing this. |
Note that there are a bunch of issues with the tracker here.
Let me know if I can go ahead and make the change to create a global tracker for python and let DS register itself with that. The DA can register telemetry with that too. Essentially observer pattern. |
Talked to @kimadeline created a separate item to track the refactor of this tracker https://github.com/microsoft/vscode-python/issues/7352 |
For #7332
- [ ] Has sufficient logging.- [ ] Unit tests & system/integration tests are added/updated- [ ] Test plan is updated as appropriate- [ ]package-lock.json
has been regenerated by runningnpm install
(if dependencies have changed)- [ ] The wiki is updated with any design decisions/details.