PDA

View Full Version : CPU Speed Test in Flash



crtvgrndwrks
July 24th, 2005, 05:41 AM
i'm looking at making an efficient way to test lag in the user's computer
1. i'll post lagTester.swf that will test your CPU
2. please post the results of the test plus the specs on your CPU
3. since this is also a source/experiments forum, we trade: my source for your experiment http://kirupa.com/forum/images/smilies/evilsmirk.gif


i = 0;
countNum = 100000;
startTime = getTimer()/1000;
while (!lagTime) {
i++;
if (i == countNum) {
stopTime = getTimer()/1000;
lagTime = stopTime-startTime;
}
}
this.createTextField("time_txt",this.getNextHighestDepth(),0,0,500,50);
time_txt.text = "startTime="+startTime;
time_txt.text += "\tstopTime="+stopTime;
time_txt.text += "\tlagTime="+lagTime;

crtvgrndwrks
July 24th, 2005, 05:44 AM
i will start:

CPU- Pentium M processor 1.6 GHz
startTime=0.281 stopTime=0.933 lagTime=0.652
browser used: K-Meleon

see, that's easy!


mik3 suggests posting browser used too (post immediately after this one), which is a great idea

Mik3
July 24th, 2005, 05:50 AM
It says I don't have permission to enter the file... Weird..

Oh yeah, users should also say what browser they're running during the test. In addition to this, they should exit all programs before running it. Don't you think these could affect results?

crtvgrndwrks
July 24th, 2005, 05:53 AM
weird, i tried it on both of my computers, after loggin out, and it still worked.

i guess people can try it once with all their programs open, once without, to see if there is a difference, good point.


ok, my other computer is the following:
AMD 1800+
startTime=0.069 stopTime=1.051 lagTime=0.982
browser used: FireFox


wow, browser does make a difference!
first computer: Intel Pentium M
startTime=0.011 stopTime=0.997 lagTime=0.986
browser used=Internet Explorer (as compared to 0.652 w/K-Meleon!)

Mik3
July 24th, 2005, 06:14 AM
I can't seem to get it to work. Maybe there is a glitch in my account or I did something I wasn't supposed to... Darn, I want to try this one. :\

crtvgrndwrks
July 24th, 2005, 06:19 AM
ok, try this link:

http://creativegroundworks.com/stuff/lagTester.swf

sorry about the technical difficulties!

Seb Hughes
July 24th, 2005, 07:06 AM
startTime=0.041 stopTime=0.428 lagTime=0.387

Thats me, is the lower the better

signifer123
July 24th, 2005, 10:14 AM
startTime=0.01 stopTime=0.987 lagTime=0.977
1999 Mhz (they jipped me a megahert)
IE

startTime=0.122 stopTime=0.754 lagTime=0.632
FLash Player 7 Open

robvr6
July 24th, 2005, 11:33 AM
startTime=0.007 stopTime=0.807 lagTime=0.8

cheesy_x
July 24th, 2005, 12:02 PM
1.7 ghz Firefox

startTime=0.069 stopTime=1.153 lagTime=1.084
startTime=0.059 stopTime=1.17 lagTime=1.111
startTime=0.062 stopTime=1.16 lagTime=1.098
***Average Firefox lagTime = 1.097

same computer in IE

startTime=0.015 stopTime=1.149 lagTime=1.134
startTime=0.024 stopTime=1.136 lagTime=1.112
startTime=0.022 stopTime=1.121 lagTime=1.099
***Average IE lagTime= 1.115

crtvgrndwrks
July 24th, 2005, 12:05 PM
lower is better!

cheesy_x
July 24th, 2005, 12:11 PM
Same 1.7ghz computer as above, but using Firetune for firefox
startTime=0.054 stopTime=1.027 lagTime=0.973
startTime=0.042 stopTime=1.01 lagTime=0.968
startTime=0.044 stopTime=1.002 lagTime=0.958
*** Average time with Firetune = 0.966

So the optimized firefox seems fastest, with IE as slowest

Seb Hughes
July 24th, 2005, 01:00 PM
startTime=0.041 stopTime=0.428 lagTime=0.387

Thats me, is the lower the betterWow 4 other computers are conneted up to the network box in our house, so that is uber fast

Mik3
July 24th, 2005, 01:24 PM
startTime=0.025 stopTime=0.718 lagTime=0.693

1.42 Ghz G4 - Safari

cholin
July 24th, 2005, 01:32 PM
First off, nobody get too jealous of my results.

CPU - Pentium II MMX @ 350mhz
startTime=0.088
stopTime=5.052
lagTime=4.964
browser=FF

My other computer was trashed but its 3ghz so im sure it would be plenty fast. Its sad to see how slow my backup comp actually is!

Mik3
July 24th, 2005, 01:59 PM
First off, nobody get too jealous of my results.

CPU - Pentium II MMX @ 350mhz
startTime=0.088
stopTime=5.052
lagTime=4.964
browser=FF

My other computer was trashed but its 3ghz so im sure it would be plenty fast. Its sad to see how slow my backup comp actually is!

DAYUM HOMIE! I BE JEALOUS FOO!

crtvgrndwrks
July 24th, 2005, 02:39 PM
no, cholin, thank you for that result, it is one of the most important ones!!! i have plenty that are fast, of course, since us computer people tend to have high-end stuff, but it's good to know that your backup is going to be on the low end, so i have an idea of how to handle the raw data that this test gives.

the goal is to find maybe a couple of numbers that would be cutoffs for certain features on my website. i have some special effect type things i want to add that will be a little more processor intensive, that don't add anything content-wise to the site, but they're there for the people who spend more on their computers! if i can find a lagTime that i find acceptable, probably around 1.5 or so i'm thinking, that will be the cutoff for the processor-intensive stuff, then it would be great.

of course i'll need to make an option that lets users know they can choose a speed different than the one they were tested for, in case they want to try it out :)

so if anyone can hop on older computers and test it out, that would be awesome!!!

thanks everyone for participating, the more the better, and i hope you all get something out of this too!

stringy
July 24th, 2005, 06:38 PM
Another slow one
Athlon 1000
internet explorer6
startTime=0.028 stopTime=1.999 lagTime=1.971


using Opera-startTime=0.076 stopTime=1.495 lagTime=1.419

crtvgrndwrks
July 24th, 2005, 06:59 PM
ok, stringy, and cholin, question:

when you look at flash websites with alot going on, do things slow down quite a bit on these computers?

stringy
July 24th, 2005, 07:03 PM
ok, stringy, and cholin, question:

when you look at flash websites with alot going on, do things slow down quite a bit on these computers?

No, not that i`ve noticed.

crtvgrndwrks
July 24th, 2005, 07:19 PM
then i may up my "isSlow" number from 1.5 to 2.5 or 3.0

stringy
July 24th, 2005, 07:23 PM
then i may up my "isSlow" number from 1.5 to 2.5 or 3.0
maybe give a testpage for us to check if stuff is slowing down?

crtvgrndwrks
July 24th, 2005, 07:40 PM
ok, i'll work on a page that start off simple, and i'll have a TextField that says "Level 1", etc, and each level something more processor intensive happens. And people can report at which level it got really jerky... and it'll also do the test posted here, so they can be linked up.

cholin
July 24th, 2005, 07:43 PM
Yes, it slows down massively. Even sites Ive created are laggy on this computer, but it lags the whole system. If you try to close the browser it takes another 30 seconds anyways.

Vexir
July 24th, 2005, 07:47 PM
This is cool :P

startTime=0.101 stopTime=0.997 lagTime=0.896

deletedUser459
July 24th, 2005, 09:32 PM
startTime=0.04 stopTime=0.64 lagTime=0.6

...good of sucky?

von_dragon
July 24th, 2005, 09:59 PM
startTime=0.074 stopTime=1.022 lagTime=0.948

comp = 2.2 ghz
windows xp home
firefox
512 ddr2 ram

Templarian
July 24th, 2005, 11:21 PM
startTime=0.082 stopTime=0.567 lagTime=0.485
(2nd place yea. wow Seb).
AMD 4000+
xp pro.
firefox
1gig ddr (3200).

MaToMaStEr
July 25th, 2005, 02:28 AM
pentium centrino 1.6 Ghz
startTime=0.044
stopTime=0.689
lagTime=0.645

GW02
July 25th, 2005, 02:45 AM
P4 Northwood 2.6Ghz, 400FSB
XP Pro
Firefox 1.04

startTime: .073
stopTime: .534
lagTime: .461

Not TOO bad. :P

bipsa
July 25th, 2005, 11:40 AM
Amd 3000
Firefox
startTime=0.17 stopTime=0.655 lagTime=0.485

rhamej
July 30th, 2005, 02:56 PM
Intel centrino 1.6 laptop, gig of ram, ff browser

startTime=0.041 stopTime=0.466 lagTime=0.425

Pretty consistant :)

Joppe
July 30th, 2005, 06:07 PM
I dont really know what cpu i got .. I just know its very old..

startTime=0.05 stopTime=1.435 lagTime=1.385

samoscratch
August 1st, 2005, 06:57 PM
AMD Athlon 64 3000+

Firefox
startTime=0.042 stopTime=1.015 lagTime=0.973

K-meleon
startTime=0.011 stopTime=0.855 lagTime=0.844

:sleep:

Eh?
August 1st, 2005, 07:23 PM
startTime=0.111
stopTime=0.7
lagTime=0.589

AMD Athlon AMD, 1666 Mhz
224 mb DDR RAM (not kidding)
Firefox

Tocksiq
August 2nd, 2005, 09:36 PM
P4 2.26GHz
IE
startTime=0.036 stopTime=0.727 lagTime=0.691

Athlon 2.16GHz
IE
startTime=0.009 stopTime=0.663 lagTime=0.654
Woot AMD

Mik3
August 2nd, 2005, 11:56 PM
startTime=0.097 stopTime=4.587 lagTime=4.49

VIA processor @ 755mhz
256mb memory

seawise
August 3rd, 2005, 04:27 AM
1.6 Centrino
256 ram

startTime=0.013 stopTime=0.705 lagTime=0.692

icio
August 3rd, 2005, 06:31 AM
startTime=0.038 stopTime=0.99 lagTime=0.952

AMD Something.
Firefox.

Flashmatazz
August 4th, 2005, 03:17 PM
iMac G5 1.8GHz, OS X 10.4.2
using FF and iTunes running:

startTime=0.242 stopTime=1.497 lagTime=1.255
startTime=0.229 stopTime=1.463 lagTime=1.234
startTime=0.178 stopTime=1.409 lagTime=1.231

without iTunes:
startTime=0.182 stopTime=1.331 lagTime=1.149
startTime=0.179 stopTime=1.326 lagTime=1.147
startTime=0.181 stopTime=1.33 lagTime=1.149


... and now I'm restarting iTunes again :P

tpspoons
August 4th, 2005, 07:41 PM
startTime=0.046 stopTime=0.676 lagTime=0.63
512mb ram
4 cpu
2.5ghz
ff

Im going to try it on my second pc as soon as the batteries for the mouse finish charging...

edit:
with 6 other ffs open, mx 2004, outlook express 6, quicktime, and itunes, this is the results:
startTime=0.068 stopTime=0.778 lagTime=0.71

TheCanadian
August 4th, 2005, 08:38 PM
Pentium 4 3GHz with 1GB of RAM.

startTime=0.008 stopTime=0.834 lagTime=0.826
startTime=0.009 stopTime=0.913 lagTime=0.904
startTime=0.009 stopTime=0.841 lagTime=0.832

cholin
August 4th, 2005, 09:01 PM
Ah, now the good computer.

Pentium 4 @ 3.0 ghz; 512MB RAM; Windows XP Professional; Highly tweaked/optimized.

startTime=0.006 stopTime=0.431 lagTime=0.425

eiefai
August 4th, 2005, 10:26 PM
AMD Athlon XP 2600
1.92 GHz 512 RAM
Firefox 1.0.6

startTime=0.081 stopTime=0.835 lagTime=0.754
startTime=0.065 stopTime=0.815 lagTime=0.75
startTime=0.065 stopTime=0.815 lagTime=0.75

Keaney
August 4th, 2005, 10:49 PM
Mac Mini
1.42 GHz PowerPC G4
OS X 10.4.2
In safari, with Photoshop and Dreamweaver running.
startTime=0.029 stopTime=1.486 lagTime=1.457

:)

glosrfc
August 5th, 2005, 05:13 AM
startTime=0.007 stopTime=0.521 lagTime=0.514

P4 3 GHz - 1024 MB RAM - XP Pro
IE6 - got a dozen or so windows open and a host of background processes running.

Not sure what the results mean but I hope it's useful for you.
________
Vapir Oxygen Vaporizer (http://oxygenvaporizer.com)

crtvgrndwrks
August 16th, 2005, 10:03 AM
has anyone tried using this script yet?

mathew.er
August 16th, 2005, 10:14 AM
ok FF FP8 beta giving lagtime allways about .5 .6. IE5 with FP7 twice that much.
I got Athlon 2k1+ 512MB ram with homesite running, firefox with about 20 tabs open, virus and about 50 processes.

crtvgrndwrks
August 29th, 2005, 10:54 AM
hey, i was just wondering if anyone had tried to use this cpu tester script yet? i am thinking that from these tests around a 1.0 second lagtime and under seems to be good, with around .5 being really good, and a little more than 1.0 is ok, and over 2, well, lol :)

what this does is sees how fast the users computer reads your information, with its limitations on computer speed and flash player capabilities (it's obvious fp8 is way better than fp7 on this test)

so, has anyone tried this out yet on a site of theirs?

3d Nirvana
August 29th, 2005, 11:05 AM
I'm planning to on my next site :)

crtvgrndwrks
August 30th, 2005, 08:31 AM
awesome, if one other person uses it, then my post has been successful! well, that and i got alot of test results that i could use :)

frost_oni
August 30th, 2005, 09:19 AM
startTime=0.28 stopTime=1.844 lagTime=1.564
browser: firefox

netscape open, flash mx, messenger [ 3 windows ], winamp open.

crtvgrndwrks
August 31st, 2005, 09:42 AM
frost_oni, what cpu do you have?

cholin
August 31st, 2005, 11:21 AM
startTime=0.033 stopTime=0.598 lagTime=0.565

Firefox. MSN. Not much running.

crtvgrndwrks
September 1st, 2005, 05:40 PM
it's important to know the cpu speed (2.1 Ghz, for example), because that also affects the results, not just what version of flash player, and the browser, etc.

but thanks for the interest!

blixt
September 1st, 2005, 06:08 PM
AMD Athlon +1800 512Mb (tweaked with a minimum of services and background tasks since I use it for sensitive audio applications)

Normally when I browse I would have a lot of programs open.
Now I have FF with 5 tabs open and FP8 beta.
I also have the bat, scite, foobar, flash, nero and scope platform open.

startTime=0.054 stopTime=0.655 lagTime=0.601

Closing down my apps and extra tabs:

startTime=0.087 stopTime=0.677 lagTime=0.59

Nuvis
September 10th, 2005, 08:47 AM
Dell Dimension 8250, 2.66 Ghz, 512 mb RDram, Firefox v 1.0.4, some windows open

startTime=0.018 stopTime=0.603 lagTime=0.585

Nuvis

treatkor
September 17th, 2005, 01:21 PM
Power Mac G4 400mhz (flash player 8)
Safari:
startTime=0.053 stopTime=2.423 lagTime=2.37

Firefox:
startTime=0.286 stopTime=2.603 lagTime=2.317

Opera:
startTime=1.412 stopTime=3.737 lagTime=2.325

Netscape:
startTime=0.345 stopTime=2.93 lagTime=2.585

geez, i guess this thread is a good demonstration of how flashplayer is way slower on macs compared to pcs :|