NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Some editor speed issues *solved*


Joined: 20 Nov 2005
Posts: 5
Reply with quote
Hi!

I have used PHPed for a while now and it's one of my favourite PHP IDE. I'm very-very pleased with the product and support although i have couple issues. I'd like to discuss about these - are you aware of them and are you planning to solve them. They are related to the speed of editor and I'd like to know what you think about them:
1. I use one workspace where i have multiple projects (each with SVN support) and when i start PHPEd, it seems to load all the files to memory or at least it runs through because it shows on the statusbar the file names being processed. And as I have quite a lot of files in my projects (workspace) this takes some time. I thought that maybe it's possible to speed up in a that way, that although i have many projects in my workspace only one project may have active (and loaded to memory when other projects remain
inactive and not touched at all). Makes it sense? What do you think?
2. When i edit a bit bigger file then the editor get soooooo slow that it's not possible to do anything descent. For me, even if I have like 260k php code and when i try to edit this - after every step i have to wait when phped is completeing whatever it does...If i reduce the file size - everything will be nice and quick. Is there some kind of possibility to fix this?

Regards,
Jan
View user's profileFind all posts by sauSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
it seems to load all the files to memory or at least it runs through because it shows on the statusbar the file names being processed

Indeed, PhpED scans all the project directories and it takes some time.

Quote:
I thought that maybe it's possible to speed up in a that way, that although i have many projects in my workspace only one project may have active (and loaded to memory when other projects remain inactive and not touched at all). Makes it sense? What do you think?

While it's possible to have only one active project at a time, you still may right-click on the files and directories beloging to non-active projects. So their structure should be scanned first.

Probably some of directories and files have no relation to your PHP works. To reduce time the IDE spends for the scans, you may want to add them to the IGNORE lists. See project's and directories' properties. It would reduce memory consumption too.

Quote:
2. When i edit a bit bigger file then the editor get soooooo slow that it's not possible to do anything descent. For me, even if I have like 260k php code and when i try to edit this - after every step i have to wait when phped is completeing whatever it does...

Please make sure you're running the latest version (build 4043 at the moment). We constantly pay attention to problems related to performance and it's known that 4043 runs substantially faster.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 20 Nov 2005
Posts: 5
Reply with quote
Quote:
Probably some of directories and files have no relation to your PHP works. To reduce time the IDE spends for the scans, you may want to add them to the IGNORE lists. See project's and directories' properties. It would reduce memory consumption too.

Do you mean these options in project properties: hide files; hide directorys? If not then where exactly can I add them to IGNORE lists? I didn't find any, am I blind Very Happy

Quote:
Please make sure you're running the latest version (build 4043 at the moment). We constantly pay attention to problems related to performance and it's known that 4043 runs substantially faster.


Yes, I have build 4043. Even if it may be faster than older builds it still seems to have quite a lag somewhere. Ie. if i'm opening this 260k php script and just working with it a little bit (scrolled backward/forward, made some cut/paste) it lags...btw, found one interesting issue about this - when for instance i copy/paste in the beginning of the file - everything is relatively fast and fine. When I copy/paste at the end or do smth else, when the document is "scrolled down", then the lag is terrible (at least for my needs).
View user's profileFind all posts by sauSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
Do you mean these options in project properties: hide files; hide directorys? If not then where exactly can I add them to IGNORE lists? I didn't find any, am I blind

Right. Hide files and hide directories, it's where you can put some file masks to be ingnored by workspace window.

Quote:
When I copy/paste at the end or do smth else, when the document is "scrolled down", then the lag is terrible (at least for my needs).

Do you mean that it becomes terrible after you copied/pasted at the end and while you're keep editing at the end of the file or you returned back to the top?
Maybe there is some "glitch" with syntax parser which takes long somewhere in the middle of the file. Can you send me a sample to replicate the problem?

-dmitri.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 20 Nov 2005
Posts: 5
Reply with quote
Quote:
Do you mean that it becomes terrible after you copied/pasted at the end and while you're keep editing at the end of the file or you returned back to the top?
Maybe there is some "glitch" with syntax parser which takes long somewhere in the middle of the file. Can you send me a sample to replicate the problem?


It gets slow when i do something at the end of a file. It doesn't matter what i do (type smth, copy/paste etc). But as soon as i return back to top of the file and start doing something there (typing, copying, pasting etc..) everything runs pretty fine (fast)....
Where i can send this sample file to you? I tried in the forum (under your' profile, but there if i click 'send e-mail', are no e-mail addresses)...

Jan[/quote]
View user's profileFind all posts by sauSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Editor performance is greatly improved in version 4.0.1 (4048)
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Some editor speed issues *solved*
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic