question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`DebugService` has high cost

See original GitHub issue
  • Profile startup/reload (w/ simple text editor, just the explorer visible)
  • Drill into code editor creation
  • Notice that ~30% its creation time is spend in the CallStackEditorContribution contribution

That itself is cheap but it “force creates” the delay/lazy debug service which causes a ripple of events and other things. It would be better if we can keep this lazy and depend on the service to soon

Screenshot 2022-09-02 at 12 55 10

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
jriekencommented, Oct 7, 2022

but would return a proxy event emitter that would be hooked up to the real thing when the service gets instantiated for some other reason

➡️ https://github.com/microsoft/vscode/pull/162928

2reactions
jriekencommented, Oct 7, 2022

It would be cool if simply listening to an event would not instantiate the service, but would return a proxy event emitter that would be hooked up to the real thing when the service gets instantiated for some other reason

Love it. @alexdima and I had discussed the same thing yesterday. I’ll give it a try and see how much we can save like that

Read more comments on GitHub >

github_iconTop Results From Across the Web

The cost of debugging - Medium
Let's take 2 groups of languages. Costly Debugging — Java, Scala, .NET and C++. Cheap Debugging — GoLang, Node.js, Python. The costly group...
Read more >
Report: Debugging Efforts Cost Companies $61B Annually
An Undo report published recently notes 620 million developer hours a year are wasted on debugging software failures, at a cost of roughly ......
Read more >
Visual Studio 2015 - Analyze Performance While Debugging ...
The more images you have in your Pictures library, the higher the startup memory costs. On-demand loading of the BitmapImage objects is the...
Read more >
Understand CloudWatch charges and reduce future ... - AWS
Review your AWS Cost and Usage reports to understand your CloudWatch charges. Look for charges for the following services.
Read more >
Debug Application Issues With APM and Network ... - Datadog
Debug application issues with NPM. A triggered APM alert indicates high latency on an endpoint in one of our app's services.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found