search & replace: bad performance
i tried to replace " by nothing in 19707 lines, each containing about 10 ".
notepad:
replaced every " one by one. felt like being in a movie, watching a computer decrypting a file. crashed when i tried to minimize it.
idea:
went up to 100% cpu heat. i ctrlaltdel-ted it away after a few minutes because the gui was locked.
textpad:
was done after a few seconds. hail to the glorious textpad.
so the questions are:
+ why does idea's gui lock up?
+ why isn't the replace done after a few seconds?
请先登录再写评论。
I saw this problem come and go in EAPs. A good test is replace all tabs with e.g. 4 spaces using regex. If done in a larger JSP, it's a good stress test :)
So, I found it both hanging for a minute and also doing it in a fraction of second in different versions. The only question is 'why is it so inconsistent and easy to break?'
CPU snapshot would really help to fix the problem earlier :)
Andrew Perepelytsya wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Max,
I'm happy with the current performance of latest EAPs in this aspect (or is it just the machine is too powerful to notice it? ;) )
If I come across this regression again, you'll get the snapshot.
Thanks,
Andrew