Code analysis *very* slow in 134.1007 with scala-plugin 0.32.548 关注
It seems after upgrading to 13.1 EAP the code analysis is extremely slow. The editor often hangs and it's hard to get work done.
I know I'm using an EAP but just want to see if anyone else is experiencing this?
Can you create CPU snapshot here? This is probably because of my last commit (it's in performance critical part of code): https://github.com/JetBrains/intellij-scala/commit/08f52bae29e2c334ddd9f67fbd84c4e500da0d59
However I still don't see problems how this change could be slow.
This slowness started before that commit, I think in recent EAPs
You mean "Tools -> Start CPU usage profiling"?
Ths snapshot-file is 140M, where do I put it?
Things started to get a little better after I turned off "Language injection in scala-files". The analyzing of code (indicated by the the square in top-right corner of editor) still taks forever but the GUI is more responsive and doesn't hange quite so often.
I also noticed after the last or so plugin update that several projects of mine became extremely slow in the analysis; the editor literally hangs for seconds just by placing the cursor. It doesn't seem to be a particular file I edit but affects the whole project. The problem must have been introduced recently.
We have open ftp: ftp://ftp.intellij.net/.uploads/
It would be great to see CPU snapshot without language injections (it's known platform problem about UI unresponsiveness with language injections) plus idea.log file.
Can you share CPU snapshot as well? https://intellij-support.jetbrains.com/entries/29983118-Reporting-performance-problems
It would be great to fix ASAP.
After following the instruction, IDEA doesn't start up any more, I only find these errors in the console:
[0x0-0x1ad1ad].com.jetbrains.intellij.ce Could not find agent library: libyjpagent.jnilib (searched /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Libraries:/System/Library/Java/Extensions:/Library/Java/Extensions:.)
As mentioned on that page:
IntelliJ IDEA and PyCharm Community Editions do not include a YourKit profiler agent, because the YourKit agent library is not open-source. To take a CPU or memory snapshot with the Community Edition, you can download an evaluation version of YourKit Java Profiler, copy the yjpagent library to the IDE bin directory, add it to the .vmoptions as described above, and connect to the running IDE instance from the standalone YourKit Profiler UI.
You also can install IntelliJ IDEA Ultimate edition, it's free for 30 days.
Connecting to 188.8.131.52...
FTP Server ready.
Anonymous login ok, restrictions apply.
Logged in to ftp.intellij.net.
Current remote directory is /.uploads.
ncftp /.uploads > mkdir andreak
MKD andreak failed; [andreak: Permission denied]
Could not mkdir andreak: server said: andreak: Permission denied
How do I log in?
Just copying code makes the editor hang
Just upload directly into the .uploads directory and let JetBrains know the file name.
Not sure if this is related or not, but I've noticed dramatic slowdown recently. Not sure exactly what version I was running when it started.
Apparently I was looking in the wrong forum
Please try IDEA 13.1 EAP (http://confluence.jetbrains.com/display/IDEADEV/IDEA+13.1+EAP) and the latest nightly build (http://confluence.jetbrains.com/display/SCA/Scala+Plugin+Nightly+Builds+for+Cardea), it contains few fixes related to performance.
Sorry for not providing CPU-snapshot earlier, I'm in the caribbean on holiday and the Internet access here is *very* limited...
Will try the 0.32.571-plugin asap.
I don't know what you guys did, but 134.1445 with 627 version of the scala-plugin is way more snappy!
I think it's https://github.com/JetBrains/intellij-scala/commit/1b5ef4d05f5cf8e65520577dba63144454bdd16a
Most probably using Spray and Slick libraries will be much faster.