Compilation in progress ...

Everything else that doesn't fall into one of the other PB categories.
MrMat
Enthusiast
Enthusiast
Posts: 762
Joined: Sun Sep 05, 2004 6:27 am
Location: England

Post by MrMat »

va!n wrote:Have you tried following test with the example source?

; Another way to solve this... Just only copy and paste the
; complete "Part2" section between EndProcedure and before
; starting the "Part1" section! Can someone confirm and explain
; this?

Then the compiling will be very fast! A bit strange... Tested on a brand new installed WinXP System (2 days old)
I hadn't tested it but i have now and switching part 2 before part 1 does indeed make the compilation almost instant!

We've got different hardware too - i've got an Intel 3 ghz on an Intel motherboard using on-board graphics (after my Radeon 9800 broke) with Win XP SP 2 so not much in common there except the OS.
Mat
Thomas
Enthusiast
Enthusiast
Posts: 112
Joined: Sat Apr 26, 2003 8:45 pm

Post by Thomas »

MrMat wrote:It's weird, i get the same slowdown (tested on 3.94 and the 4.0 betas). Compiling this part with the debugger off

Code: Select all

For x = 0 To 640 * 4
    For y = 0 To 480 * 4
        calculation = Int(32 * 192)
    Next
Next
takes about 10 seconds. With debugger on it is instant. Anti-virus/firewall/browser on or off makes no difference here.
With debugger < 1 sec, without debugger 3 sec (no virus scanner / firewall).
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Here i compile in less than .5 secs the example posted by Mr.Mat, with or without debugger.
The problem is not what the source is, neither its size. And is not related to debugger on or off. It happens time to time, i don't know what's is the cause, but i can say that these behaviours comes since POLINK messages appeared, i.e. since linking was changed (about 3.8x version if i am not wrong).
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

im using an 3800+ athlon 64 with 1gbyte ram and a radeon 9600XT 256mbyte gfx card. Windows xp SP 2 danish, norton antivirus.

Compiles VERY fast in all sources.
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

@Psychophanta:
You have to test the full source i posted... i can reprocduce it here everytime!!! If you change the *4 to something like *43 it could be that the compiler need 2 seconds longer for compiling...

btw, how is it possible to speed up the compiling speed just by exchange part1 and part2...? :roll: (seems my old posting / thread about this has been deleted!?)
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Sorry va!n. I've not problem here with your example. Less than 2 secs the first time i compile it, and less than 1 sec the next times.
I guess we are talking about different things :roll:
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
MrMat
Enthusiast
Enthusiast
Posts: 762
Joined: Sun Sep 05, 2004 6:27 am
Location: England

Post by MrMat »

@va!n: The slowdown is definitely occurring with polink. I'm linking the .obj file generated by pbcompiler/fasm (which is created very fast) but it is the linking that is taking about 10 seconds.
Mat
Thomas
Enthusiast
Enthusiast
Posts: 112
Joined: Sat Apr 26, 2003 8:45 pm

Post by Thomas »

On my desktop (Athlon XP 3000+) it takes 3 sec and on my notebook (Athlon M 1500+) it takes much less than 1 sec. I'm not running any programs on my desktop so there must be another reason for this. If POLINK is the cause, why does it take longer on certain machines?
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

i think the same as thomas!
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Post Reply