Webstorm Freezing when using regex in Log Analyzer
Issue #1548
resolved
Comments (7)
-
reporter -
repo owner That's strange. How large was the log so I can try to reproduce it? I guess I could just try with a 20MB log and make sure it works properly with that...
-
reporter I guess you can close this just as a performance issue within kotlin/java regular expressions.
-
repo owner No, let's leave it open. I still want to profile this a bit and see if I can filter in parallel threads or something to improve the performance.
-
repo owner Fix committed for the next build. Now filtering is only applied when the user explicitly presses Enter in the filter field, clears the filter field, or chooses a historical filter (I switched these filter fields to use the IDE's search text field component).
-
repo owner - changed status to resolved
Delivered in 2.1.1.6.
-
repo owner - changed component to Log Analyzer
- Log in to comment
Actually it was consuming a huge amount for about 10 minutes. It unfroze after that.
Would be good to get a way to cancel the regex parse and maybe speed up the regex by breaking the log into parts (say 1 per cpu) and then rejoining the results?