Page 4 of 8 « First<23456>Last »
Topic Options
#105845 - 2003-10-15 12:24 AM Re: KiXgolf: PxMagic
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
READLINE is by far the slowest part of the code. That function is a real dog when looking at performance.

See the details below.
code:
Reading image file from C:\Data\Scripts\Golf\PxMagic\balloons.pgm
Start Read: 18:19:31
End Read: 18:20:25
Start Display: 18:20:27
End Display: 18:20:38

Reading image file from C:\Data\Scripts\Golf\PxMagic\blackbuck.ppm
Start Read: 18:20:47
End Read: 18:23:53
Start Display: 18:23:58
End Display: 18:24:10

Reading image file from C:\Data\Scripts\Golf\PxMagic\circle_ascii.pbm
Start Read: 18:24:20
End Read: 18:24:21
Start Display: 18:24:22
End Display: 18:24:28


In order to debug the code change the image order in KixGolf_pxMagic.kix. Do circle_ascii.pbm, and FEEP files first.

[ 15. October 2003, 00:27: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#105846 - 2003-10-15 02:20 AM Re: KiXgolf: PxMagic
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Ok, first crack at this golf thingy...

I can read all and display .pbm at this point:

code:
KiXtart
KiXtart Version = 4.21
KiXforms Version = 2.3.0.42
KiXGolf Script = kixgolf_pxmagic.kix

Computer
OS = Windows 2000 Professional
CPU = Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Speed = 1998 MHz
Memory = 254 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: PxMagic - Read & Display PxM Images
Processing Start = 2003/10/14 20:27:02.784
Processing End = 2003/10/14 20:27:50.813
Duration = 0000/00/00 00:00:48.028
# Images = 2
KiXGolf Score PxMagic = 56
KiXGolf Score PxMRead = 208
KiXGolf Score PxMDisplay = 324
KiXGolf Score Total = 588

Thank you for participating in KiXtart Golf!



[ 15. October 2003, 03:32: Message edited by: Chris S. ]

Top
#105847 - 2003-10-15 03:56 AM Re: KiXgolf: PxMagic
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
k, me starting up too.

code:
KiXtart
KiXtart Version = KiXtart 2001 4.22 Release Candidate 1
KiXforms Version = 2.3.0.42
KiXGolf Script = kixgolf_pxmagic.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 797 MHz
Memory = 376 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: PxMagic - Read & Display PxM Images
Processing Start = 2003/10/15 04:48:42.454
Processing End = 2003/10/15 05:03:05.395
Duration = 0000/00/00 00:14:22.940
# Images = 8
KiXGolf Score PxMagic = 66
KiXGolf Score PxMRead = 457
KiXGolf Score PxMDisplay = 201
KiXGolf Score Total = 724

Thank you for participating in KiXtart Golf!

_________________________
!

download KiXnet

Top
#105848 - 2003-10-15 04:16 AM Re: KiXgolf: PxMagic
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
don't think I can squeeze any longer.
this already has compromizes on the display...

code:
KiXtart
KiXtart Version = KiXtart 2001 4.22 Release Candidate 1
KiXforms Version = 2.3.0.42
KiXGolf Script = kixgolf_pxmagic.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 797 MHz
Memory = 376 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: PxMagic - Read & Display PxM Images
Processing Start = 2003/10/15 05:09:37.028
Processing End = 2003/10/15 05:22:18.222
Duration = 0000/00/00 00:12:41.194
# Images = 8
KiXGolf Score PxMagic = 66
KiXGolf Score PxMRead = 443
KiXGolf Score PxMDisplay = 190
KiXGolf Score Total = 699

Thank you for participating in KiXtart Golf!

_________________________
!

download KiXnet

Top
#105849 - 2003-10-15 05:05 AM Re: KiXgolf: PxMagic
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
k, think it's my time to take a well deserved nap.
code:
KiXtart
KiXtart Version = KiXtart 2001 4.22 Release Candidate 1
KiXforms Version = 2.3.0.42
KiXGolf Script = kixgolf_pxmagic.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 797 MHz
Memory = 376 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: PxMagic - Read & Display PxM Images
Processing Start = 2003/10/15 06:01:07.131
Processing End = 2003/10/15 06:12:33.428
Duration = 0000/00/00 00:11:26.296
# Images = 8
KiXGolf Score PxMagic = 66
KiXGolf Score PxMRead = 434
KiXGolf Score PxMDisplay = 190
KiXGolf Score Total = 690

Thank you for participating in KiXtart Golf!

_________________________
!

download KiXnet

Top
#105850 - 2003-10-15 07:07 AM Re: KiXgolf: PxMagic
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
execution takes too long so reduced the image-amount.
code:
KiXtart
KiXtart Version = KiXtart 2001 4.22 Release Candidate 1
KiXforms Version = 2.3.0.42
KiXGolf Script = kixgolf_pxmagic.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 797 MHz
Memory = 376 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: PxMagic - Read & Display PxM Images
Processing Start = 2003/10/15 08:13:20.308
Processing End = 2003/10/15 08:13:47.498
Duration = 0000/00/00 00:00:27.189
# Images = 2
KiXGolf Score PxMagic = 66
KiXGolf Score PxMRead = 403
KiXGolf Score PxMDisplay = 187
KiXGolf Score Total = 656

Thank you for participating in KiXtart Golf!

_________________________
!

download KiXnet

Top
#105851 - 2003-10-15 08:04 AM Re: KiXgolf: PxMagic
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
code:
KiXtart
KiXtart Version = KiXtart 2001 4.22 Release Candidate 1
KiXforms Version = 2.3.0.42
KiXGolf Script = kixgolf_pxmagic.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 797 MHz
Memory = 376 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: PxMagic - Read & Display PxM Images
Processing Start = 2003/10/15 09:28:06.850
Processing End = 2003/10/15 09:28:34.119
Duration = 0000/00/00 00:00:27.269
# Images = 2
KiXGolf Score PxMagic = 66
KiXGolf Score PxMRead = 393
KiXGolf Score PxMDisplay = 187
KiXGolf Score Total = 646

Thank you for participating in KiXtart Golf!



[ 15. October 2003, 08:21: Message edited by: Lonkero ]
_________________________
!

download KiXnet

Top
#105852 - 2003-10-15 08:30 AM Re: KiXgolf: PxMagic
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
This READ performance sucks but... [Big Grin]

code:
KiXtart
KiXtart Version = KiXtart 2001 4.22 Release Candidate 1
KiXforms Version = 2.3.0.41
KiXGolf Script = kixgolf_pxmagic.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 698 MHz
Memory = 512 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: PxMagic - Read & Display PxM Images
Processing Start = 2003/10/15 01:11:38.595
Processing End = 2003/10/15 02:37:38.235
Duration = 0000/00/00 01:25:59.640
# Images = 8
KiXGolf Score PxMagic = 51
KiXGolf Score PxMRead = 193
KiXGolf Score PxMDisplay = 310
KiXGolf Score Total = 554

Thank you for participating in KiXtart Golf!

I have also coded up what should be a much faster version while I waited for this one to execute. But it will score somewhere between this score and the my last post.

[ 15. October 2003, 08:31: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#105853 - 2003-10-15 08:47 AM Re: KiXgolf: PxMagic
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Here is one for performance with some additional strokes.

code:
KiXtart
KiXtart Version = KiXtart 2001 4.22 Release Candidate 1
KiXforms Version = 2.3.0.41
KiXGolf Script = kixgolf_pxmagic.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 698 MHz
Memory = 512 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: PxMagic - Read & Display PxM Images
Processing Start = 2003/10/15 02:46:25.613
Processing End = 2003/10/15 02:55:21.333
Duration = 0000/00/00 00:08:55.720
# Images = 8
KiXGolf Score PxMagic = 51
KiXGolf Score PxMRead = 241
KiXGolf Score PxMDisplay = 308
KiXGolf Score Total = 600

Thank you for participating in KiXtart Golf!

_________________________
Home page: http://www.kixhelp.com/hb/

Top
#105854 - 2003-10-15 08:56 AM Re: KiXgolf: PxMagic
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
Howard,

Am I reading that right?

1 hour 25 minutes 59 seconds to complete this task!!

Dang - Who has time to wait around for something like that. Wow - I'd have broke out of it thinking it was a hung script or process. [Eek!]

Top
#105855 - 2003-10-15 08:59 AM Re: KiXgolf: PxMagic
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hoby is the sicko [Wink]
he had that "hanger" for about 90 hours before he decided to terminate it [Razz]
_________________________
!

download KiXnet

Top
#105856 - 2003-10-15 09:27 AM Re: KiXgolf: PxMagic
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
Nice follow the competition..
Got my reading bit almost working [Frown]

Still struggling with the display without using KF.

...VRML...
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#105857 - 2003-10-15 11:00 AM Re: KiXgolf: PxMagic
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
k, was listening MP3's all the runtime so this is not totally fair on the time numbers, but here it comes:
code:
KiXtart
KiXtart Version = KiXtart 2001 4.22 Release Candidate 1
KiXforms Version = 2.3.0.42
KiXGolf Script = kixgolf_pxmagic.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 797 MHz
Memory = 376 MB

KiXGolf Scoring Engine
Scoring Engine = 3.2

KiXtart Golf Score
Tournament = KiXtart Golf: PxMagic - Read & Display PxM Images
Processing Start = 2003/10/15 11:53:49.191
Processing End = 2003/10/15 12:06:44.896
Duration = 0000/00/00 00:12:55.705
# Images = 8
KiXGolf Score PxMagic = 93
KiXGolf Score PxMRead = 185
KiXGolf Score PxMDisplay = 306
KiXGolf Score Total = 584

Thank you for participating in KiXtart Golf!

_________________________
!

download KiXnet

Top
#105858 - 2003-10-15 11:20 AM Re: KiXgolf: PxMagic
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
oh behave.
now I stopped winamp while this ran:
code:
KiXtart
KiXtart Version = KiXtart 2001 4.22 Release Candidate 1
KiXforms Version = 2.3.0.42
KiXGolf Script = kixgolf_pxmagic.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 797 MHz
Memory = 376 MB

KiXGolf Scoring Engine
Scoring Engine = 3.2

KiXtart Golf Score
Tournament = KiXtart Golf: PxMagic - Read & Display PxM Images
Processing Start = 2003/10/15 12:16:32.481
Processing End = 2003/10/15 12:27:24.198
Duration = 0000/00/00 00:10:51.716
# Images = 8
KiXGolf Score PxMagic = 93
KiXGolf Score PxMRead = 185
KiXGolf Score PxMDisplay = 291
KiXGolf Score Total = 569

Thank you for participating in KiXtart Golf!

_________________________
!

download KiXnet

Top
#105859 - 2003-10-15 11:22 AM Re: KiXgolf: PxMagic
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
Almost there... little less Lonk [Wink]
Top
#105860 - 2003-10-16 12:10 AM Re: KiXgolf: PxMagic
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
think it's getting warmer.
just when I need to leave to work if I want a free cup of coffee [Razz]
code:
KiXtart
KiXtart Version = KiXtart 2001 4.22 Release Candidate 1
KiXforms Version = 2.3.0.42
KiXGolf Script = kixgolf_pxmagic.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 797 MHz
Memory = 376 MB

KiXGolf Scoring Engine
Scoring Engine = 3.2

KiXtart Golf Score
Tournament = KiXtart Golf: PxMagic - Read & Display PxM Images
Processing Start = 2003/10/15 13:04:58.630
Processing End = 2003/10/15 13:16:03.416
Duration = 0000/00/00 00:11:04.786
# Images = 8
KiXGolf Score PxMagic = 99
KiXGolf Score PxMRead = 185
KiXGolf Score PxMDisplay = 274
KiXGolf Score Total = 558

Thank you for participating in KiXtart Golf!

_________________________
!

download KiXnet

Top
#105861 - 2003-10-16 12:50 AM Re: KiXgolf: PxMagic
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
code:
KiXtart
KiXtart Version = KiXtart 2001 4.22 Release Candidate 1
KiXforms Version = 2.3.0.42
KiXGolf Script = kixgolf_pxmagic.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 797 MHz
Memory = 376 MB

KiXGolf Scoring Engine
Scoring Engine = 3.2

KiXtart Golf Score
Tournament = KiXtart Golf: PxMagic - Read & Display PxM Images
Processing Start = 2003/10/15 13:33:56.048
Processing End = 2003/10/15 13:45:05.681
Duration = 0000/00/00 00:11:09.632
# Images = 8
KiXGolf Score PxMagic = 99
KiXGolf Score PxMRead = 182
KiXGolf Score PxMDisplay = 274
KiXGolf Score Total = 555

Thank you for participating in KiXtart Golf!

and one more.
I think I skip that free coffee [Razz]
_________________________
!

download KiXnet

Top
#105862 - 2003-10-15 01:05 PM Re: KiXgolf: PxMagic
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Crap!! Holy Cow!! [Eek!] [Eek!]

Go to get a couple winks and look what happens [Eek!] I though I would have at least a couple days to relax. [Frown] [Mad] [Roll Eyes]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#105863 - 2003-10-15 01:18 PM Re: KiXgolf: PxMagic
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
code:
KiXtart
KiXtart Version = KiXtart 2001 4.22 Release Candidate 1
KiXforms Version = 2.3.0.42
KiXGolf Script = kixgolf_pxmagic.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 797 MHz
Memory = 376 MB

KiXGolf Scoring Engine
Scoring Engine = 3.2

KiXtart Golf Score
Tournament = KiXtart Golf: PxMagic - Read & Display PxM Images
Processing Start = 2003/10/15 14:25:24.219
Processing End = 2003/10/15 14:25:51.508
Duration = 0000/00/00 00:00:27.289
# Images = 2
KiXGolf Score PxMagic = 99
KiXGolf Score PxMRead = 181
KiXGolf Score PxMDisplay = 274
KiXGolf Score Total = 554

Thank you for participating in KiXtart Golf!

didn't bother doing the full test this time as can't stay at this count.
_________________________
!

download KiXnet

Top
#105864 - 2003-10-15 01:37 PM Re: KiXgolf: PxMagic
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Here's my entry...

code:
KiXtart
KiXtart Version = 4.21
KiXforms Version = 2.3.0.42
KiXGolf Script = kixgolf_pxmagic.kix

Computer
OS = Windows 2000 Professional
CPU = Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Speed = 1998 MHz
Memory = 254 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: PxMagic - Read & Display PxM Images
Processing Start = 2003/10/15 03:29:44.359
Processing End = 2003/10/15 03:59:17.979
Duration = 0000/00/00 00:29:33.620
# Images = 8
KiXGolf Score PxMagic = 51
KiXGolf Score PxMRead = 205
KiXGolf Score PxMDisplay = 397
KiXGolf Score Total = 653

Thank you for participating in KiXtart Golf!


Top
Page 4 of 8 « First<23456>Last »


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 370 anonymous users online.
Newest Members
Timothy, Jojo67, MaikSimon, kvn317, kixtarts2025
17874 Registered Users

Generated in 0.13 seconds in which 0.058 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org