Page 1 of 1

Why is my PBCompiler so slow?

Posted: Wed Aug 13, 2003 7:11 pm
by GPI
jaPBe has 18629 lines and need 32.905 s (always around 30s).
so double the lines, i come to 36.000 lines/min. On the homepage stand that it should be much fuster:

Code: Select all

Very fast compilation (about 300 000 lines/min on a P200)
I had a P2-333... and it should around 10x faster...

Posted: Wed Aug 13, 2003 8:07 pm
by Berikco
Visual Designer has about 12.000 lines, and compiles and run in 3 seconds on my P4 1,6 that is about 250.000 lines a minute.
But it is compile and RUN.

Maybe you have a harddisk problem, fragmented?
No idea why it is so slow.

EDIT: BTW, the assembling/linking phase is not included in this time :wink:
And the compiler is changed a lot, many checks and commands added, and does optimizing wich takes time.....so compiler is slower compared to version 1.00 :D

Posted: Wed Aug 13, 2003 9:09 pm
by GPI
>EDIT: BTW, the assembling/linking phase is not included in this time :wink:

But this don't make really sence. I take the time between pressing F5 and creating the exe (taken automatic by jaPBe).

>so compiler is slower compared to version 1.00 :D

Maybe someone should test with the actual version.

Re: Why is my PBCompiler so slow?

Posted: Thu Aug 14, 2003 1:49 am
by PB
> Very fast compilation (about 300 000 lines/min on a P200)

But does this mean ONE COMMAND per line? That could be the reason.

Posted: Thu Aug 14, 2003 10:32 am
by Fred
As Berikco said, this statement is not true anymore. I will do real test and update this number.

GPI: can I get a copy of your source so I could see the part took by the pbcompiler and fasm/lcclnk.

Posted: Thu Aug 14, 2003 7:13 pm
by GPI
Fred wrote:As Berikco said, this statement is not true anymore. I will do real test and update this number.

GPI: can I get a copy of your source so I could see the part took by the pbcompiler and fasm/lcclnk.
Source of jaPBe?

No problem:
http://caosandkin.bei.t-online.de/purebasic/jaPBe/

But you can't compile japbe without japbe, because i need the some jaPBe-Specific Functions. I create a special "PB_EditorOutput.pb".

GPI