-
Notifications
You must be signed in to change notification settings - Fork 15
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
Extension causes high cpu load #23
Comments
Thank you for this report. Any chance to get the actual xml/xsd files used for this run to confirm my suspicions? |
Hi, here it is https://raw.githubusercontent.com/autosaros/Standards/master/Adaptive%20Platform/19.03/MethodologyAndManifests/AUTOSAR_MMOD_XMLSchema/AUTOSAR_00047.xsd BTW, for me, the big issue is the completion didn't same as https://marketplace.visualstudio.com/items?itemName=redhat.vscode-xml. I am not sure does it caused by the big XSD file.
|
Is the opened/parsed xml* file big, containing many similar nodes? Or does it reproduce for simple xml root without any nodes? *Not talking about schema xsd file here |
Hi, This is the xml
I don't think it contains too much similar nodes.
It hard to reproduce, but the xml I used almost same size as the uploaded one. Simple xml seems won't occur, but still give very long |
I think i was able to reproduce this terrible performance. Fix applied: To test, manually uninstall extension, RESTART vscode, install following vsix: Please let me know if you see any issues still... |
@rogalmic Hi, I tried the vsix, looks like it works, the autocomplete windows popup faster. Thanks. |
The autocompletion for tags will give full list of tags - it is current limitation as full schema parsing is not provided yet. No need for new issue (#18). As for the parsing performance after edit, I will check that withing this issue. |
Performance
vscode-xml-complete
0.2.5
Windows_NT x64 10.0.18362
1.41.1
C:\Users\siu\rogalmic.vscode-xml-complete-unresponsive.cpuprofile.txt
rogalmic.vscode-xml-complete-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load
The text was updated successfully, but these errors were encountered: