-
Notifications
You must be signed in to change notification settings - Fork 50
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
Remote ssh performance #164
Conversation
@joecrop I tried to look into it, but could figure it out. Do you know if there is a way to avoid running Actions twice for scenarios where the branch is part of the repo and PR exists? |
@joecrop I'm seeing that the potiential_references can easily grow into millions of indexed objects.
EDIT* Or we can make the regular expression more restrictive |
Yes, there's a way to limit this, I have done it before. Let me find out what I did in the past. |
Yeah, I'm all for making the regular expressions more restrictive, but I think it might not help in performance because we would be parsing each file something like 2X more times. And if you think about it, probably 90% of the symbols in a file are indeed potential references. I think the best solution is as follows:
|
Good points, I fully agree. Properly fixing performance issues is to use a proper parser for all parsing that is not fast. |
@eirikpre I modified test.yml in this branch to hopefully limit this. If it doesn't do what you are hoping, you can easily tweak it now. |
Plugin extension for testing: systemverilog-0.13.2.vsix.zip |
@eirikpre I did some testing and I don't see any problems with performance or functionality with the changes in this branch. |
Add indexed objects for clarification Co-authored-by: Joe Crop <[email protected]>
617c556
to
0ef4176
Compare
Attempt of closing down some bugs where the extension would misbehave.