Jump to content
Sign in to follow this  
timsta97

Speed Question

Recommended Posts

timsta97

About how long would it take to count from 1 to 10,000,000 using a FOR loop?

Share this post


Link to post
Share on other sites
omikron48

I think it depends on your hardware configuration.

Share this post


Link to post
Share on other sites
timsta97

I think it depends on your hardware configuration.

I agree, but I would like to know what other people have gotten

Share this post


Link to post
Share on other sites
Inverted

I think it depends on your hardware configuration.

Correct, here it takes less than 0.5 seconds.

EDIT: Lol, AdmiralAlkex

Edited by Inverted

Share this post


Link to post
Share on other sites
AdmiralAlkex

I think it depends on your hardware configuration.

Oh my god, you must be a genius if you came up with that yourself! You should get a dozen nobel-prices for that! Edited by AdmiralAlkex

Share this post


Link to post
Share on other sites
timsta97

Correct, here it takes less than 0.5 seconds.

EDIT: Lol, AdmiralAlkex

What is your hardware configuration?

Share this post


Link to post
Share on other sites
omikron48

Well, with the number of posts I've read here on the forums, it appears that for some times, pointing out the obvious actually helps.

I was assuming that this was one of those cases.

Edited by omikron48

Share this post


Link to post
Share on other sites
Inverted

What is your hardware configuration?

core 2 duo e8400 3ghz + 4gb OCZ Reaper HPC

Share this post


Link to post
Share on other sites
Firstone

Takes 0.9s for me.

This test would involve mainly cpu speed I think.

I got a AMD2 4400+ 2.2GHz

Share this post


Link to post
Share on other sites
omikron48

0.649 seconds here.

Got Intel Core 2 6320.

Share this post


Link to post
Share on other sites
timsta97

Thanks everybody, I never realized this would get so many responses.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.