 |
 |
|
 | |  |
 |
 | |  |
Site Admin
Joined: 13 Jul 2003 |
Posts: 8361 |
|
|
 |
Posted: Sat Jan 25, 2020 10:30 pm |
|
 |
 |
 |
 |
I checked the logs your sent me. Now I'm almost certain it's not CPU but disk activity.
It's either another application is monitoring all your disk reads (like antiviruses always do) and / or another application is concurrently reads or perhaps writes a lot in parallel to the same disk and the disk is rotational so it becomes awfully slow,
so when Find File By Name function reads next portion from the project index file, it is doing so, well, much slower than intended.
May be the disk itself is slow or may be it's not a local disk at all.
If you have SSD, it worth to try to place ppj file (the project file) on it. You don't have to change location of the sources though. It's only about ppj file. If you place it on your fast disk, IDE will also place project index (.idx file) there too.
If you decide to thy that, you can just move (or copy) your *.ppj, *.idx and *.ppx files to the fastest disk. Most likely it will help right a way.
If you don't have such disk, you can analyze task manager (disk io columns are hidden by default but you can turn them on) to find the culprit -- the application that constantly performs disk reads and/or writes in the background and stop it.
Finally in the next build I implemented a slightly different strategy working with index. The results are not measurable in my case because my disk is very fast. But in your case it may be running significantly faster.
|
_________________ The PHP IDE team
|
 |
 | |  |
 |
 | |  |
 |
 | |  |
Site Admin
Joined: 13 Jul 2003 |
Posts: 8361 |
|
|
 |
Posted: Mon Jan 27, 2020 11:57 pm |
|
 |
 |
 |
 |
obarshay wrote: | For what it's worth my drives are all SSD and results are the same with or without anti virus running. |
It is because your antivirus does not care if you turn it on or off. It runs in both cases. Especially if it is Kaspersky. What you change by turning on and off is reporting -- in case if it finds something.
You have to uninstall it to fill the difference.
obarshay wrote: | For what it's worth my drives are all SSD and results are the same with or without anti virus running. The project directory contains about 6,000 files. Strange for an algorithm to be disk-dependent when searching 6,000 entries. Hope you guys figure it out. |
Right, it shouldn't work that slow with just 6K files and it does not work slow. Try on a clean machine and you'll see it.
I checked build #19112 with magento-based project that has 12359 files. The popup is populated with list of files in less than 1sec.
For the machines affected by dumb antivirues, as I mentioned earlier, I've implemented workaround that will keep index file for longer time. Hope it helps.
|
_________________ The PHP IDE team
|
 |
 | |  |
Joined: 30 May 2006 |
Posts: 96 |
|
|
 |
Posted: Thu Jan 30, 2020 10:25 am |
|
 |
 |
 |
 |
dp41646 wrote: | Can someone please clarify where are this function - "open by filename"?
This feature I am missing most, switching from PHPStorm (they have global search dialog which activates with two shift presses). |
Hi,
just out of curiosity - what was the reason for you to switch from PhpStorm to PhpEd?
|
|
 |
 | |  |
 |
 | |  |
Joined: 24 Jun 2019 |
Posts: 29 |
|
|
 |
Posted: Fri Jan 31, 2020 3:57 am |
|
 |
 |
 |
 |
lubosdz wrote: | dp41646 wrote: | Can someone please clarify where are this function - "open by filename"?
This feature I am missing most, switching from PHPStorm (they have global search dialog which activates with two shift presses). |
Hi,
just out of curiosity - what was the reason for you to switch from PhpStorm to PhpEd? |
microlags mainly, I really can't stand that, so PHPEd is much faster
PHPEd have dynamic highlighting, and a few other things which phpstorm don't have
on the other hand, phpstorm have much more features, but most of them (for me) is simply gimmick
but one feature that I would like to be implemented from phpstorm is syncronisation feature which would look at file sources, not only timestamps
@dmitri
thank you, I didn't know that this even exists in phped!
|
|
 |
 | |  |
Joined: 30 May 2006 |
Posts: 96 |
|
|
 |
Posted: Fri Jan 31, 2020 4:16 am |
|
 |
 |
 |
 |
dp41646 wrote: | lubosdz wrote: | dp41646 wrote: | Can someone please clarify where are this function - "open by filename"?
This feature I am missing most, switching from PHPStorm (they have global search dialog which activates with two shift presses). |
Hi,
just out of curiosity - what was the reason for you to switch from PhpStorm to PhpEd? |
microlags mainly, I really can't stand that, so PHPEd is much faster
PHPEd have dynamic highlighting, and a few other things which phpstorm don't have
on the other hand, phpstorm have much more features, but most of them (for me) is simply gimmick
but one feature that I would like to be implemented from phpstorm is syncronisation feature which would look at file sources, not only timestamps |
Hi, thanx for sharing the experience.
I also agree that PhpEd has actually all one needs for professional development and that many of PhpStorm features are useless to me, though some of them are nice.
What about debugging?
Do you have experience XDebug vs. PhpEd's debugger?
|
|
 |
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 2 of 3
|
|
|
|  |