Why is my PBCompiler so slow?

Everything else that doesn't fall into one of the other PB categories.
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Why is my PBCompiler so slow?

Post 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...
Berikco
Administrator
Administrator
Posts: 1326
Joined: Wed Apr 23, 2003 7:57 pm
Location: Belgium
Contact:

Post 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
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post 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.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Why is my PBCompiler so slow?

Post 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.
Fred
Administrator
Administrator
Posts: 18349
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post 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.
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post 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
Post Reply