|
|
G5 - BASIC performance :)
|
|
|
|
Fresh-Faced Recruit
Join Date: Jun 2003
Location: Sweden
Status:
Offline
|
|
Hi.
This will probably sound strange, but... I have made some games in Chipmunk Basic (yeah) and I am curious to know if they will run faster on a G5 than on my G4. So I wonder if some of you G5 owners can help me with this, by running a simple program which repeats a string check 1000000 times and then reports how long it took. It's very easy and running the program will not take more than a few seconds (since that is what it takes on my computer).
Instructions:
* Download Chipmunk Basic from http://www.nicholson.com/rhn/basic/ (direct download link: http://www.nicholson.com/rhn/files/C...59b3MacOSX.sit - only 300 KB)
* Run Chipmunk Basic and paste this text:
10 t = timer
20 for l = 1 to 1000000
30 e = instr("a","b")
40 next
50 print timer-t
* Type "run" and press Enter.
* Report the result.
Thanks in advance.
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Sep 2003
Location: UK
Status:
Offline
|
|
As no G5 owners have responded yet I thought I would give them some incentive (plus I was bored), so...
...my beast of a G3 800MHz iBook did it in 2.833333
G5s bring it on!!
|
|
|
|
|
|
|
|
|
Moderator Emeritus
Join Date: Sep 2001
Location: Arizona
Status:
Offline
|
|
|
I like chicken
I like liver
Meow Mix, Meow Mix
Please de-liv-er
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jul 2002
Status:
Offline
|
|
This test should be purely clock bound, as it takes advantage of absolutely nothing chip specific. So of course the G5 will be faster.
|
|
|
|
|
|
|
|
|
Junior Member
Join Date: Nov 2003
Location: Brighton, UK
Status:
Offline
|
|
G4 1.25 GHz DP
Chipmunk BASIC v3.5.9b3
> 10 t = timer
> 20 for l = 1 to 1000000
> 30 e = instr("a","b")
> 40 next
> 50 print timer-t
>
>run
2.2
>
edit: coming soon G5LC result!
(
Last edited by cal6n; Jul 20, 2004 at 07:07 PM.
)
|
G5LC, 6 GB 1.07 TB 6800 GT & 30" (Workhorse)
1.4 GHz Cube 512 MB 60 GB (headless folding)
15" 1.67 GHz Ali G4 PB, 1.5 GB 100 GB (VJ rig 1 & Uni)
15" 1 GHz Ali G4 PB, 1.5 GB 60 GB (VJ rig 2)
G4 800 MHz Ti PB, 512 MB 60 GB (Lounge)
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Mar 2002
Location: Boston
Status:
Offline
|
|
G5 2.0GHz
> 10 t = timer
> 20 for l = 1 to 1000000
> 30 e = instr("a","b")
> 40 next
> 50 print timer-t
>
>run
1.583333
>
|
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: May 2001
Location: Atlanta, GA
Status:
Offline
|
|
G5 2.0 Ghz ... 1.37
This is amazing. It takes me back 20 years.
Line numbers ... how cute!
|
- MacBook Air M2 16GB / 512GB
- MacBook Pro 16" i9 2.4Ghz 32GB / 1TB
- MacBook Pro 15" i7 2.9Ghz 16GB / 512GB
- iMac i5 3.2Ghz 1TB
- G4 Cube 500Mhz / Shelf display unit / Museum display
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Jun 2003
Status:
Offline
|
|
dual 1.8 G5
1.616667 seconds
|
Dual 1.8 GHz G5
PB G4 1.67 GHz
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Dec 2003
Location: Ann Arbor, Michigan
Status:
Offline
|
|
2.33333 seconds on my 1ghz g4 powerbook.
Not so bad comparitively for my machine...
|
yep.
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: May 2001
Location: Atlanta, GA
Status:
Offline
|
|
My best time (in repeated runs) got down to 1.29.
My box rocks!
<GRIN>
|
- MacBook Air M2 16GB / 512GB
- MacBook Pro 16" i9 2.4Ghz 32GB / 1TB
- MacBook Pro 15" i7 2.9Ghz 16GB / 512GB
- iMac i5 3.2Ghz 1TB
- G4 Cube 500Mhz / Shelf display unit / Museum display
|
|
|
|
|
|
|
|
Mac Elite
Join Date: May 2001
Location: Vancouver
Status:
Offline
|
|
G5 1.6
Chipmunk BASIC v3.5.9b3
> 10 t = timer
> 20 for l = 1 to 1000000
> 30 e = instr("a","b")
> 40 next
> 50 print timer-t
>
>run
1.783333
>run
1.766667
>run
1.75
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Jun 2003
Location: Central Texas
Status:
Offline
|
|
Chipmunk BASIC v3.5.9b3
>
> 10 t = timer
> 20 for l = 1 to 1000000
> 30 e = instr("a","b")
> 40 next
> 50 print timer-t
>
>run
1.25
>
G5 Dual 2.0ghz 4GIG RAM
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Nov 1999
Location: Hanson, MA
Status:
Offline
|
|
My dual 2.0 G5 with 512mb RAM:
1.416667
Cute!
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Jun 2003
Location: Sweden
Status:
Offline
|
|
Many thanks to everyone who has contributed with their results. The reason why I chose this test is that string checks (although more complicated than checking if "b" is represented in "a") is what slows down most of my games. It seems like upgrading to G5 will help - on my own computer the test takes 4-5 seconds (!). As Thinine pointed out this was probably what one could expect, but you never know with BASIC...
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2000
Location: Boynton Beach, Florida, USA
Status:
Offline
|
|
Rev A. dual 1.8 G5
>10 t = timer
20 for l = 1 to 1000000
30 e = instr(>>"a","b")
40 next
50 print timer-t
>>>run
1
I ran the test several times, most of the time it would say 1, but I got 2 a few times. No decimal places, am I running the test correctly?
|
2.7Ghz 15" Mid 2012 MBP 16GB RAM 7.2k 750GB HD anti-glare display|64GB iPad4 ATT LTE|
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Oct 2001
Location: South of the Mason-Dixon line
Status:
Offline
|
|
Dual Athlon running WinXP Pro & TrueBasic application
10 let t = timer
20 for v = 1 to 1000000
30 next v
40 print t
50 end
0
app crashed upon exiting. gotta love it.
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Jun 2003
Location: Sweden
Status:
Offline
|
|
Originally posted by davidflas:
Rev A. dual 1.8 G5
>10 t = timer
20 for l = 1 to 1000000
30 e = instr(>>"a","b")
40 next
50 print timer-t
>>>run
1
I ran the test several times, most of the time it would say 1, but I got 2 a few times. No decimal places, am I running the test correctly?
I don't know which BASIC dialect you are using, but it's not Chipmunk Basic since line 30 (with the ">>") would result in a Syntax error. Probably TIMER in this variant of BASIC returns an integer value.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2000
Location: Boynton Beach, Florida, USA
Status:
Offline
|
|
2nd attempt....
Chipmunk BASIC v3.5.9b3
>10 t = timer
>20 for l = 1 to 1000000
>30 e = instr("a","b")
>40 next
>50 print timer-t
>run
1.5
>run
1.45
>run
1.466667
>run
1.433333
Rev A. Dual 1.8Ghz G5 w/512MB ram
|
2.7Ghz 15" Mid 2012 MBP 16GB RAM 7.2k 750GB HD anti-glare display|64GB iPad4 ATT LTE|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Jul 2004
Location: Belgium
Status:
Offline
|
|
7.016667
Time to buy an new computer... (a G5)
****
G3 Beige with G4 ZIF 500
768 MB RAM
ATI Radeon 7000 64MB
Sonnet ATA 66 PCI card with 80 GB Barracuda
|
|
|
|
|
|
|
|
|
Moderator Emeritus
Join Date: Sep 2001
Location: Arizona
Status:
Offline
|
|
Originally posted by Mac Hammer Fan:
7.016667
Time to buy an new computer... (a G5)
****
G3 Beige with G4 ZIF 500
768 MB RAM
ATI Radeon 7000 64MB
Sonnet ATA 66 PCI card with 80 GB Barracuda
Naw.
Time to buy the new G3/750GX upgrade @ 1.1GHz with 1MB of L2 from PowerLogix.
|
I like chicken
I like liver
Meow Mix, Meow Mix
Please de-liv-er
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Jul 2004
Location: Belgium
Status:
Offline
|
|
Originally posted by PowerMacMan:
Naw.
Time to buy the new G3/750GX upgrade @ 1.1GHz with 1MB of L2 from PowerLogix.
I prefer a new computer.
My graphics card, a PCI Radeon 7000/64 is a real bottleneck.
And so is the bus speed. This old Mac is still fine for basic work, but for video-editing I need a Dual G4 or G5.
And besides, I have read a lot of bad reviews about Powerlogix upgrades (from readers) at www.xlr8yourmac.com
And for conversion to mp4, any G3 processor will be insufficient.
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Feb 2003
Location: Denmark
Status:
Offline
|
|
PowerMac Dual 1.8GHz, 256mb DDR
Chipmunk BASIC v3.5.9b3
>10 t = timer
>20 for l = 1 to 1000000
>30 e = instr("a","b")
>40 next
>50 print timer -t
>run
1.466667
>run
1.583333
>run
1.466667
>run
1.483333
>run
1.566667
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|