Author Topic: iPhone slow down since version 7.138  (Read 3359 times)

Offline codegit

  • Dr. Type
  • ****
  • Posts: 270
    • View Profile
iPhone slow down since version 7.138
« on: 2009-Oct-13 »
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

Offline codegit

  • Dr. Type
  • ****
  • Posts: 270
    • View Profile
Re: iPhone slow down since version 7.138
« Reply #1 on: 2009-Oct-13 »
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

Offline Uncle

  • Mr. Drawsprite
  • **
  • Posts: 75
    • View Profile
    • www.urbaninteractive.net
Re: iPhone slow down since version 7.138
« Reply #2 on: 2009-Oct-13 »
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?

Offline Moru

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1753
    • View Profile
    • Homepage
Re: iPhone slow down since version 7.138
« Reply #3 on: 2009-Oct-13 »
The updating program makes backups of the old installation every time you update GLB, look in the folder.

Offline codegit

  • Dr. Type
  • ****
  • Posts: 270
    • View Profile
Re: iPhone slow down since version 7.138
« Reply #4 on: 2009-Oct-14 »
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

Offline codegit

  • Dr. Type
  • ****
  • Posts: 270
    • View Profile
Re: iPhone slow down since version 7.138
« Reply #5 on: 2009-Oct-14 »
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

  • Guest
Re: iPhone slow down since version 7.138
« Reply #6 on: 2009-Oct-14 »
Are you using debug or release mode for everything ?

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10675
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: iPhone slow down since version 7.138
« Reply #7 on: 2009-Oct-14 »
In release mode it should not be slower. If it really is, please post the 2 closest version numbers that show the difference.

Offline codegit

  • Dr. Type
  • ****
  • Posts: 270
    • View Profile
Re: iPhone slow down since version 7.138
« Reply #8 on: 2009-Oct-14 »
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....   ;)
« Last Edit: 2009-Oct-14 by codegit »
------------------------------------------
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

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10675
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: iPhone slow down since version 7.138
« Reply #9 on: 2009-Oct-14 »
Yikes!
Are you using polyvector a lot, or just the plain drawings?

Offline codegit

  • Dr. Type
  • ****
  • Posts: 270
    • View Profile
Re: iPhone slow down since version 7.138
« Reply #10 on: 2009-Oct-14 »
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?
« Last Edit: 2009-Oct-14 by codegit »
------------------------------------------
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

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10675
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: iPhone slow down since version 7.138
« Reply #11 on: 2009-Oct-15 »
But you can confirm it was faster with the old compiler version?

Offline codegit

  • Dr. Type
  • ****
  • Posts: 270
    • View Profile
Re: iPhone slow down since version 7.138
« Reply #12 on: 2009-Oct-15 »
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.
« Last Edit: 2009-Oct-15 by codegit »
------------------------------------------
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

  • Guest
Re: iPhone slow down since version 7.138
« Reply #13 on: 2009-Oct-16 »
But you can confirm it was faster with the old compiler version?
I can confirm it

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10675
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: iPhone slow down since version 7.138
« Reply #14 on: 2009-Oct-16 »
With what version?