Click to See Complete Forum and Search --> : ZDE 5 has pauses longer than ZDE 4!


Tea_J
11-12-2005, 12:09 AM
Hi guys

first of all i just wana let it out.. I HATE JAVA!!!! their such resource hogs.. wish zend wouldnt use java!

whew.. alrite..


anyway i just started using zend 5 yesterday, and it is GREAT! i love the code collapsing feature!

but... i immediately started noticing that ZDE 5 is very slow.. i mean, it's actually FASTER when starting up (i did notice that).. but during coding there are split second pauses that i encounter, similar on ZDE 4, but MUCH longer.. quite annoying really..

Them annoying pauses seem to be similar on ZDE4 in a sense that they seem to occur during certain activities such as defining function, etc etc. but on ZDE5 the pause is so much longer..

for example, when i press right arrow to move my cursor position.. i press it many times rapidly to advance.. in zde4 there is a small pause time which one cant really notice much.. but in zde5 after the first few presses of the right arrow the cursor pauses, and then jumps about 5-10 characters away (since keep pressing right arrow)

How do i fix this? (if ever this can be fixed)

byt he way im on windows XPSP2, intel p4 3.06Ghz processor, 1 GB RAM.... and i still get pauses.. shuxx

bretticus
11-12-2005, 02:01 AM
Wow, now I don't feel so bad. I got so annoyed by the lag that I swapped back to 4.02 (which works great.) I assumed that my 1.7 Ghz P4 1 GB RAM was not the workstation they intended it for, but I see you have considerable more clock and still get lag ;)

Zend definately needs to optimize Studio 5.0!

Tea_J
11-12-2005, 04:08 AM
ah so you too huh?

hmm.. im very disappointed.. was soo excited.. as it boasted faster optimization.. :(

so bretticus, did you notice as well that startup was actually much faster now on v5? that got me more excited as i thought it's gona be blazing.... but then when i started coding.. :((

hmm.. ima stick with v5 for now.. and see if i can stand the lag over the great new features..

hmm...

bretticus
11-12-2005, 04:21 AM
I just noticed that my CPU dances like crazy whenever the code folding (apparently) scans my document as you can see from my screen capture.

Tea_J
11-12-2005, 05:01 AM
ya i do notice that.. and so with some other features.. which is alrite as it is expedcted when any program is doing something.. what i do notice a lot (durng the annoying lag) is the java eating 90+% CPU.. I HATE JAVA >:(

MStaniszczak
11-16-2005, 09:13 PM
Hmmmm... I work on Zend Studio 5.0 (earlier a work with Zend Studio 4) and all works fine. After execute Zend Studio, a must wait ~5 minutes for ZS quieten and finishing initialization, but after that everything works great.

But, on yours computers Zend works slow, you can submit bug in Zend.

I have only Celeron 2 GHz and 512 MB RAM (processor is unimportant, Java need more memory = but your get 1 GB!).

Maybe try use JRockit - download JRockit from BEA and replace JRE from SUN by this JRE (look in ZendStudioClient-5.0.0/jre directory). Don’t forget make backup original JRE from Zend Studio!;-)

Best regards,
Marcin Staniszczak

bretticus
11-17-2005, 01:57 AM
MStaniszczak, you rock!

ZDE 5.0 with JRocket way out-performs Sun JRE! I'm excited to do this tomorrow, I can actually stand to code with ZDE 5 now.

Thanks!

MStaniszczak
11-17-2005, 04:34 PM
But please point out that JRocket is optimized for Intel processors and on AMD may work slowest than Sun JRE. And second thing - JRocket on start application compiling all application's classes to native processor code, so starting may me slowing. But after that it's my work fine;-)

Best regards,
Marcin Staniszczak

HDR
11-19-2005, 03:17 PM
I've noticed that too, Its getting very annoying as every time I try to type a function, the program just freezes. I tryed Jrockit, but that just made the memory useage worse and it got even slower. (I'm on AMD). This is making me want to just go buy the PHP extension for Visual Studio 2005

Edit: VS2005 version isn't even out yet, was going to download the trial version, but they only have up to VS2003

bretticus
11-20-2005, 02:27 AM
Zend 4.02 still works great for me. I have a AMD Athlon and, for some reason, ZDE 5.0 responds better with JRockit. I Still don't use it because it's still has a bit of lag and, more importantly, code completion does not work sometimes :D

MStaniszczak
11-22-2005, 08:33 PM
When in ZDE code completion doesn't work? I use it and every thinks work fine. And ZDE great completing my code, especial with PHPDocumentatior comments (like @var ClassName). Please let me know what's work - I submit bug to Zend (I have legal license, so maybe they fix it if they client submit same bugs;-)

Best regards,
Marcin Staniszczak

HDR
11-22-2005, 11:47 PM
When in ZDE code completion doesn't work? I use it and every thinks work fine. And ZDE great completing my code, especial with PHPDocumentatior comments (like @var ClassName). Please let me know what's work - I submit bug to Zend (I have legal license, so maybe they fix it if they client submit same bugs;-)

Best regards,
Marcin Staniszczak

Theres nothing wrong with it for me, its just slow. When you try to get code completion to work, the whole program freezes for around 5 seconds until the code completion menu comes up. Try telling them to see if they can use GCJ to compile the whole thing to a native exe ;-)

bretticus
11-23-2005, 04:03 AM
I have a legal copy also ;-) I just haven't gotten around to sending a bug. I'm still liking 4.02 and never really even used code folding that much in Visual Studio. Therefore, I can live without it using 4.02. I would like to see the debugger in action with built-in browser (haven't played with that yet.) I was excited to see code completion for nested classes, but never able to see it work like I thought it should. I wanted code completion for stuff like $this->my_custom_data_object->some_method() but...no dice! As for my previous comment about code completion not working at all...it really seemed to NOT work for my custom classes. Maybe this was because I was too impatient to wait the 5 seconds required. I should point out it works fine on my two Intel boxen, but not my AMD. I guess that could be fathomable? :D

bretticus
11-23-2005, 04:08 AM
Actually, I used code folding in VS, but only for regions, I think that woudl be really cool in Zend Studio too. Any way to pull that off right now with ZS?

MStaniszczak
11-23-2005, 04:16 PM
ZDE folding only classes function , non-PHP code, and comments...
And If I write code like this:

class A {
/**
* @var String
*/
public $var1;

public function test() {
//...
}
}

class B {
/**
* @var A
*/
public $var2;
}

class C {
/**
* @var B
*/
private $b;

public function test() {
$b = new B();
$b->var2->test();
$b->var2->var1 = ‘foo bar’;
}
}

ZDE correct (and very quickly on my Celeron 2GHZ with 512 MB RAM) completing code in:

$b->var2->test();
$b->var2->var1 = ‘foo bar’;

lines, but comments in any class as very important.

Best regards,
Marcin Staniszczak

bretticus
11-23-2005, 07:34 PM
I'm using PHP 4, maybe that makes a difference. I'll try again after the holidays it's my work computer.)

MStaniszczak
11-23-2005, 08:48 PM
I'm using PHP 4, maybe that makes a difference.

I don't think so - this work too:


<?php
class A {
/**
* @var String
*/
var $var1;

function test() {
//...
}
}

class B {
/**
* @var A
*/
var $var2;
}

class C {
/**
* @var B
*/
var $b;

function test() {
$b = new B();
$b->var2->test();
$b->var2->var1 = 'foo bar';
}
}
?>


Best regards,
Marcin Staniszczak

Tea_J
11-24-2005, 07:47 AM
hey guys, bretticus, and everyone

sorry, wasnt able to give feed back for quite sometime.. thread topic reminders not working i dont think.. as i did not get reminder for your replies..

anyway, MStaniszczak, thank you for your advises...

I will try jRockit soon.. and will post feedback here

bretticus, i understand your satisfaction with zde 4. it works, and it doesnt lag.. very important for our work. heheh

but another thing that i like about zde 5 is it COMPLETES my statements MUCH better... what i mean is, if i for example start to declare a variable:

i type:
$myName="

ZDE completes it like:
$myName=""

or when i type:
$_POST[

ZDE completes it like:
$_POST[]

and continuing from above:
$_POST["myvar]

zde makes it:
$_POST["myvar"]


know what i mean?? hehe

i've saved so much time and keyboard punching, not to mention typos and mistakes coz of this neat feature..

.....must....make....zde....5....faster......

:P

MStaniszczak
11-24-2005, 09:15 AM
If you have access to any machine with Intel processor, check how it's work on Intel. If ZDE have problem with AMD we must submit it to Zend;-) I unfortunately don't have access to ADM machine...

Best regards,
Marcin Staniszczak

Tea_J
11-24-2005, 12:01 PM
i just installed jrockit and replaced the whole contents of the jre folder with the one from jrockit. unfortunately, i cant try it right now as im in the middle of someting. will be continuing to code on a current project tomorrow, and i'll see if it made any improvements on my intel machine

MStaniszczak
11-24-2005, 06:12 PM
I forget - on my machine I use SUN's JRE. I don't feel need to use JRocki;-) I use JRockit on Linux for JBoss;-)

Bestr regards,
Marcin Staniszczak