Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Improve the analyze performance #788

Open
zhoufenqin opened this issue Mar 7, 2025 · 2 comments
Open

Improve the analyze performance #788

zhoufenqin opened this issue Mar 7, 2025 · 2 comments
Labels
needs-kind Indicates an issue or PR lacks a `kind/foo` label and requires one. needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@zhoufenqin
Copy link

I use windup and kantra to analyze the same repo,

I use /usr/bin/time -v {command} 2>&1 | tee benchmark.log to collect the timecost/cpu/memory, there are big gap about it:
windup:

Image

kantra:

Image

kantra is very slow and cost more resources.

Question:

  1. how to improve the kantra performance, i think it should be improved in lsp because it provide the main logic
  2. how to deep into the root cause so i can also do more analysis in my side
@konveyor-ci-bot
Copy link

This issue is currently awaiting triage.
If contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.
The triage/accepted label can be added by org members.

@konveyor-ci-bot konveyor-ci-bot bot added needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-kind Indicates an issue or PR lacks a `kind/foo` label and requires one. needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. labels Mar 7, 2025
@github-project-automation github-project-automation bot moved this to 🆕 New in Planning Mar 7, 2025
@shawn-hurley
Copy link
Contributor

I would be curious if you could find the location by using the [https://github.com/konveyor/analyzer-lsp/blob/b062f3757592bdb4da8f5b20e48ee7319faaca93/README.md?plain=1#L49] to see what is taking the time.

From my experience, the significant slowdown isn't in the language server, but in grep; file searching seems to be the high cost.

If you are finding something else I would very much like to see it, and talk about what our next steps should be

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
needs-kind Indicates an issue or PR lacks a `kind/foo` label and requires one. needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants