Help Me to Improve Performace
By Petr on Dec 09, 2010
This is basically request for help to identify use cases, when the PHP editor is slow. Last few days I have fixed some performance problems. Mainly improving speed of writing in the php editor and invoking code completion. The fixes that I create are already in development builds, NetBeans 7.0 Beta is old build for this purpose. Please try a latest build that can be downloaded from NetBeans site or from continual build server. The builds from the continual build server are better, because these are build over web-main repository and contains our latest changes. The build that you can download from NetBeans site is build from main repository, where our changes are pushed automatically and it can take 2, 3 days when there are some problems.
The editor has many features that consume processor time during typing. The source code is parsed after 500 ms from last key press. Features like navigator, code folding, hints etc. react almost on every change. We add more features, the editor should made more "clever", but the editor has to be still fast to be useful and usable.
The reports like "the code completion is really slow" doesn't help me very much. I can not have the same environment as you have. The best is if you find a reproducible case. Also the "Profile me" functionality is useful in these cases. Just attach the snapshot to a bug like # or create new one or send me the snapshot directly with a comment.
I'm mainly interested in the usecases that are connected with code completion and typing in editor. If you have slow project scanning, it's another story.
Thanks for your help.