1. Processor Speed is Biggest Factor in exw Program Opening

Hello,

Recently i had the opportunity to test the loading speed of .exw files
(with lots of include files included in the program) on a 3.3GHz machine
and on a slower machine using version 3.0 of Eu.  The 3.3GHz machine
seems to open them a lot faster while the sub-1GHz machine opens them
about 3 times slower than with verion 2.4 of Euphoria.
This of course means the parsing of the files eats up the time, but
the difference is mainly because C is used for the 2.4 version and
Eu is used for the 3.0 version front ends.


Take care,
Al

E boa sorte com sua programacao Euphoria!


My bumper sticker: "I brake for LED's"

 From "Black Knight":
"I can live with losing the good fight,
 but i can not live without fighting it".
"Well on second thought, maybe not."

new topic     » topic index » view message » categorize

2. Re: Processor Speed is Biggest Factor in exw Program Opening

Al Getz wrote:
> 
> 
> Hello,
> 
> Recently i had the opportunity to test the loading speed of .exw files
> (with lots of include files included in the program) on a 3.3GHz machine
> and on a slower machine using version 3.0 of Eu.  The 3.3GHz machine
> seems to open them a lot faster while the sub-1GHz machine opens them
> about 3 times slower than with verion 2.4 of Euphoria.
> This of course means the parsing of the files eats up the time, but
> the difference is mainly because C is used for the 2.4 version and
> Eu is used for the 3.0 version front ends.
> 
> 
> Al
> 
> E boa sorte com sua programacao Euphoria!
> 
> 
> My bumper sticker: "I brake for LED's"
> 

Hello Al,

And therefore?

Don Cole

new topic     » goto parent     » topic index » view message » categorize

3. Re: Processor Speed is Biggest Factor in exw Program Opening

Al Getz wrote:
> Recently i had the opportunity to test the loading speed of .exw files
> (with lots of include files included in the program) on a 3.3GHz machine
> and on a slower machine using version 3.0 of Eu.  The 3.3GHz machine
> seems to open them a lot faster while the sub-1GHz machine opens them
> about 3 times slower than with verion 2.4 of Euphoria.
> This of course means the parsing of the files eats up the time, but
> the difference is mainly because C is used for the 2.4 version and
> Eu is used for the 3.0 version front ends.

What?! That doesn't make sense! You must have got it wrong somewhere. Send me
that 3.3GHz box so I can test it here.

Regards,
Pete

new topic     » goto parent     » topic index » view message » categorize

4. Re: Processor Speed is Biggest Factor in exw Program Opening

don cole wrote:
> 
> Al Getz wrote:
> > 
> > 
> > Hello,
> > 
> > Recently i had the opportunity to test the loading speed of .exw files
> > (with lots of include files included in the program) on a 3.3GHz machine
> > and on a slower machine using version 3.0 of Eu.  The 3.3GHz machine
> > seems to open them a lot faster while the sub-1GHz machine opens them
> > about 3 times slower than with verion 2.4 of Euphoria.
> > This of course means the parsing of the files eats up the time, but
> > the difference is mainly because C is used for the 2.4 version and
> > Eu is used for the 3.0 version front ends.
> > 
> > 
> > Al
> > 
> > E boa sorte com sua programacao Euphoria!
> > 
> > 
> > My bumper sticker: "I brake for LED's"
> > 
> 
> Hello Al,
> 
> And therefore?
> 
> Don Cole


Hi Don,


Well, it 'might' help to write the front end in C too.
I dont know how much this would help though, as the older
2.4 version did not use iL code so it didnt have to generate
that too.


Take care,
Al

E boa sorte com sua programacao Euphoria!


My bumper sticker: "I brake for LED's"

 From "Black Knight":
"I can live with losing the good fight,
 but i can not live without fighting it".
"Well on second thought, maybe not."

new topic     » goto parent     » topic index » view message » categorize

5. Re: Processor Speed is Biggest Factor in exw Program Opening

Pete Lomax wrote:
> 
> Al Getz wrote:
> > Recently i had the opportunity to test the loading speed of .exw files
> > (with lots of include files included in the program) on a 3.3GHz machine
> > and on a slower machine using version 3.0 of Eu.  The 3.3GHz machine
> > seems to open them a lot faster while the sub-1GHz machine opens them
> > about 3 times slower than with verion 2.4 of Euphoria.
> > This of course means the parsing of the files eats up the time, but
> > the difference is mainly because C is used for the 2.4 version and
> > Eu is used for the 3.0 version front ends.
> 
> What?! That doesn't make sense! You must have got it wrong somewhere. Send me
> that 3.3GHz box so I can test it here.
> 
> Regards,
> Pete

That's funny, it makes sense to me.
I guess you find it strange that a faster computer opens a program
faster, especially a program that does a lot of parsing?

BTW, the front side bus was 533MHz, and the memory was same speed.
That's much higher than the older systems too (100MHz for both).

Send you the box? Ok, i'll run to the store and shell out $409,
bring the thing home and put address label on it, then take it to
UPS for delivery, just so you can test it yourself.  You should
see it in oh say, seven to ten days. *Or*, you could get a 3.3GHz
machine and test it on that system.

I also did a cpu/mem speed test on this system with a chess program and
the chess program performed very close to that expected relative
to the older system as far as playing strength (and time to reach
a given ply depth was of course faster).


Take care,
Al

E boa sorte com sua programacao Euphoria!


My bumper sticker: "I brake for LED's"

 From "Black Knight":
"I can live with losing the good fight,
 but i can not live without fighting it".
"Well on second thought, maybe not."

new topic     » goto parent     » topic index » view message » categorize

6. Re: Processor Speed is Biggest Factor in exw Program Opening

Al Getz wrote:
> 
> Well, it 'might' help to write the front end in C too.
> I dont know how much this would help though, as the older
> 2.4 version did not use iL code so it didnt have to generate
> that too.
> 

Incorrect.  IL code has always been a part of euphoria.  The difference
is that before 2.5, euphoria executed any top level code that it encountered
as soon as it was parsed.  Which was why forward references using 
routine_id were impossible.

We've traded away a bit of speed in the opening of large programs for a
much more flexible, easily maintained and extended front end.  I don't 
see any going back.  I guess it's too bad for people who still have older,
slower machines, but I think it's the right direction for euphoria.

Matt

new topic     » goto parent     » topic index » view message » categorize

7. Re: Processor Speed is Biggest Factor in exw Program Opening

Matt Lewis wrote:
> 
> Al Getz wrote:
> > 
> > Well, it 'might' help to write the front end in C too.
> > I dont know how much this would help though, as the older
> > 2.4 version did not use iL code so it didnt have to generate
> > that too.
> > 
> 
> Incorrect.  IL code has always been a part of euphoria.  The difference
> is that before 2.5, euphoria executed any top level code that it encountered
> as soon as it was parsed.  Which was why forward references using 
> routine_id were impossible.
> 
> We've traded away a bit of speed in the opening of large programs for a
> much more flexible, easily maintained and extended front end.  I don't 
> see any going back.  I guess it's too bad for people who still have older,
> slower machines, but I think it's the right direction for euphoria.
> 
> Matt

Hi Matt,

I didnt realize 2.4 generated iL code too, but it really doesnt matter
that much.  The speed is the main issue, but thanks to the open source
and free .exe Euphoria the impact is a little less now, as anyone can
bind an executable (thanks to Rob for that) and make the program open
faster.
I dont see any going 'back' either, at least not to going back to
running before all the code is parsed, but it might help to do a 
C front end, if anyone is inclinded to dig into this task smile
At one time i thought i would be able to do this, but time seems
to have become a bigger factor lately.
I guess i could continue to do what i have done in the past for
programs that i really want fast.  That is, build a windows dll for
the tasks that must be very very fast and use Eu for the base program.
This works out very well, especially since WATCOM is free too.


Take care,
Al

E boa sorte com sua programacao Euphoria!


My bumper sticker: "I brake for LED's"

 From "Black Knight":
"I can live with losing the good fight,
 but i can not live without fighting it".
"Well on second thought, maybe not."

new topic     » goto parent     » topic index » view message » categorize

8. Re: Processor Speed is Biggest Factor in exw Program Opening

Al Getz wrote:
> That's funny
Thanks

> Send you the box? Ok, i'll run to the store and shell out $409,
Thanks!!

LOL,
Pete

new topic     » goto parent     » topic index » view message » categorize

9. Re: Processor Speed is Biggest Factor in exw Program Opening

Pete Lomax wrote:
> 
> Al Getz wrote:
> > That's funny
> Thanks
> 
> > Send you the box? Ok, i'll run to the store and shell out $409,
> Thanks!!
> 
> LOL,
> Pete

Hope you had your boots on when you read that statement smile
Ha ha.  Next time i shell out 400 bucks i'll make sure the system
does not have Vista installed smile
Hey lets see if we can get the comp manufacturers to pre-install
Euphoria 3.x (he he).  Of all the stupid games that came with that 
box at least this would mean something useful would come with a new
PC these days.


Take care,
Al

E boa sorte com sua programacao Euphoria!


My bumper sticker: "I brake for LED's"

 From "Black Knight":
"I can live with losing the good fight,
 but i can not live without fighting it".
"Well on second thought, maybe not."

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu