| Summary: | //** such markdown in .js file comments slows or even hangs orion editor completely ** | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Adrian Aichner <adrian.aichner> | ||||
| Component: | Editor | Assignee: | Mark Macdonald <mamacdon> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | mamacdon | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 5.0 M1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Adrian Aichner
Hi Adrian, do you have the 'nonnlsPlugin' installed, by any chance? It has a bug which causes extreme performance degradation on certain input files, even when you have turned off "Validation > Warn on unexternalized strings". Coincidentally, I just hit this bug yesterday and I've got a fix ready. Fixed in master. http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=26f2a18 For anyone who hasn't picked up the fix yet: a simple workaround is to disable or uninstall the nonnlsPlugin under Settings > Plugins. I do have nonnlsPlugin installed and disabling it does fix the problem as a workaround. Interestingly I even have to close the Chrome New Tab (Ctrl+T) from which I opened my orion editor because that tab also bogs down the client PC cpu even after I close all orion tabs. I pulled master (client and server), reloaded nonnls and can happily report the problem with the editor fixed for my big test case. Running the String Xtrnlzr in the directory with that file (only has one .md file and 17 png files alongside it) still hangs the orion tabs. But the bug I reported is fixed. Great! > Running the String Xtrnlzr in the directory with that file (only has one .md file and 17 png files alongside it) still hangs the orion tabs.
Hmm. I checked the Xtrnlzr code and it's using a copy of the same problematic regex that hung the nls plugin. Reopening -- I will fix that as well.
This should fix the externalizer as well: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=9583309 Yep, that is fixed too! I like it you got rid of the code duplication! |