Mintoris Forum

Author Topic: Eric Complex Text  (Read 1163 times)

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Eric Complex Text
« on: Mar 28, 2017, 05:33 PM »
Eric says this program runs unusually slow.

sraffens

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 220
Re: Eric Complex Text
« Reply #1 on: Mar 28, 2017, 06:10 PM »
It is using complex calculation to change each pixel on the screen like mandel2 did

I would reduce the number of pixel 500 or  in place screenx(), screenx()

and maybe setscale

This would be another good speed test for complex calculation

Chuck

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1899
Re: Eric Complex Text
« Reply #2 on: Mar 28, 2017, 07:11 PM »
He's comparing the results of an old 4.0.4 tablet to a PC. PC runs in .43 secs

sraffens

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 220
Re: Eric Complex Text
« Reply #3 on: Mar 28, 2017, 07:25 PM »
I ran both programs at the same resolution 1500 x 1500

Eric's program      245.65   seconds  4.0932 minutes
mandel2 program 267.176 seconds  4.4529 minutes


sraffens

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 220
Re: Eric Complex Text
« Reply #4 on: Mar 28, 2017, 07:39 PM »
A PC comparison does not seam like a valid test.

I complex function to a non complex doing similar thing looks to be a closer test.

The newer Android devices cant even keep up with many of the desktop PC and maybe even the laptop PC

sraffens

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 220
Re: Eric Complex Text
« Reply #5 on: Mar 28, 2017, 07:42 PM »
If I change the resolution to  500 X 500 it still takes about 21 seconds