microsoft / microsoft/vscode-java-debug

Performance Issue when the program will output a lot of messages

Open
#730 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ai-triaged bug performance
Dominant language
TypeScript
Stars
591
Forks
429
Avg merge
1d 9h
Merged PRs (30d)
19

Description

Environment
  • Operating System: Win10
  • JDK version: JDK 11
  • Visual Studio Code version: 1.40.2
  • Java extension version: 0.54.2
  • Java Debugger extension version: 0.23.0
Steps To Reproduce
  1. Make sure the program output will be printed into the internal console
  2. A performance downgrade will be observed if the problem will print out a lot of messages.

Note: The performance issue won't be observed if it's printing in the integrated terminal

image

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the slowdown with a Java program that prints many messages to the internal console, then compare it with the integrated terminal as described. Investigate the debugger extension's internal-console output path; done means large output no longer causes the reported performance downgrade.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
devtools, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.