iPhone slow down since version 7.138

Previous topic - Next topic

codegit

Hi

I have experienced a serious slow down of my game since GLBASIC version 7.138. Has anybody else had this problem??? O_O
------------------------------------------
1 X Acer TravelMate 4270, laptop, XP PRO
1 X Dell Studio 17 laptop, Windows 7
1 X MacBook Pro 2,2 GHz Core 2 Duo, 2 GB RAM, 160 GB HDD, 9400M
2 X iTouch
1 X HTC Desire (Android 2.1)
iPad soon to be added

codegit

I restored a backup of my game  from 2 weeks prior and then recompiled with the new compiler and there is definitely a huge slowdown for me. HAs anybody else noticed this problem.

P.S. I am only using 2d graphics with drawsprite and drawanim.... :|
------------------------------------------
1 X Acer TravelMate 4270, laptop, XP PRO
1 X Dell Studio 17 laptop, Windows 7
1 X MacBook Pro 2,2 GHz Core 2 Duo, 2 GB RAM, 160 GB HDD, 9400M
2 X iTouch
1 X HTC Desire (Android 2.1)
iPad soon to be added

Uncle

Yeah I noticed a slow down, but wasn't sure if it was version related.  Perhaps you could measure the times it takes to process one loop of your program, and then run it in both version of GLB.  That should confirm it one way or the other.  Is it possible to still download older version of GLB?

Moru

The updating program makes backups of the old installation every time you update GLB, look in the folder.

codegit

I have run extensive test with this version compared to an older version I have on my other laptop. There was a major degrade in performance in the new version of GLBASIC. Maybe Kitty already knows about the problem??? I know that some work was done to improve 2d performance, is this maybe what caused the slow down with the iPhone version??  :whistle:
------------------------------------------
1 X Acer TravelMate 4270, laptop, XP PRO
1 X Dell Studio 17 laptop, Windows 7
1 X MacBook Pro 2,2 GHz Core 2 Duo, 2 GB RAM, 160 GB HDD, 9400M
2 X iTouch
1 X HTC Desire (Android 2.1)
iPad soon to be added

codegit

Quote from: Moru on 2009-Oct-13
The updating program makes backups of the old installation every time you update GLB, look in the folder.

Unfortunately, I did not tick the option to allow backups.  :-[  Kitty is there a way I can go back to version 7.115 which runs fine for me?
------------------------------------------
1 X Acer TravelMate 4270, laptop, XP PRO
1 X Dell Studio 17 laptop, Windows 7
1 X MacBook Pro 2,2 GHz Core 2 Duo, 2 GB RAM, 160 GB HDD, 9400M
2 X iTouch
1 X HTC Desire (Android 2.1)
iPad soon to be added

MrTAToad

Are you using debug or release mode for everything ?

Kitty Hello

In release mode it should not be slower. If it really is, please post the 2 closest version numbers that show the difference.

codegit

#8
I think the difference happens between 7.115 (fast) to 7.142(slow)  (i am not sure about 7.138 as I never tested this one)

Also, I am using release mode....   ;)
------------------------------------------
1 X Acer TravelMate 4270, laptop, XP PRO
1 X Dell Studio 17 laptop, Windows 7
1 X MacBook Pro 2,2 GHz Core 2 Duo, 2 GB RAM, 160 GB HDD, 9400M
2 X iTouch
1 X HTC Desire (Android 2.1)
iPad soon to be added

Kitty Hello

Yikes!
Are you using polyvector a lot, or just the plain drawings?

codegit

#10
I use just the plain drawing commands. I loaded back a project from two weeks ago which ran well, recompile with new version of GLBASIC and it slows down alot. Almost a third frame late loss. Maybe it is me, but I cannot see anything that would cause this. Also, all my sprites are in .PNG format with transparent layer.

I am very keen to know if anybody else is having this problem. Maybe the problem is internal to my hardware (iTouch) and nothing to do with GLBASIC?
------------------------------------------
1 X Acer TravelMate 4270, laptop, XP PRO
1 X Dell Studio 17 laptop, Windows 7
1 X MacBook Pro 2,2 GHz Core 2 Duo, 2 GB RAM, 160 GB HDD, 9400M
2 X iTouch
1 X HTC Desire (Android 2.1)
iPad soon to be added

Kitty Hello

But you can confirm it was faster with the old compiler version?

codegit

#12
No I cannot confirm that it was faster. But I took an old version of code that I had saved away two weeks prior and then recompiled with new version and it ran sloooow. Yet I know that version ran fast previous. So I know that the new compiler is making things slower. I am quite certain.

I will also investigate on my side and see if I can find which specific command is causing the slow down. This is why I beleive that I cannot be the only one having this problem. Maybe because I just use the standard drawing commands????

I am going to rewrite all my routines with polyvector and function pointers, but I have come too far on this project to change. If I can get back to prior version of GLBASIC I will be happy. Also, I promise that in future I will setup a test bed for new rtelease before going into my "live" environment.
------------------------------------------
1 X Acer TravelMate 4270, laptop, XP PRO
1 X Dell Studio 17 laptop, Windows 7
1 X MacBook Pro 2,2 GHz Core 2 Duo, 2 GB RAM, 160 GB HDD, 9400M
2 X iTouch
1 X HTC Desire (Android 2.1)
iPad soon to be added

fxdude

Quote from: Kitty Hello on 2009-Oct-15
But you can confirm it was faster with the old compiler version?
I can confirm it

Kitty Hello