I got bored, so i Calculated Pi to 269,000,000 digit

This morning i missed the bus to school so i had to stay home.

After that, i was the browsing the web to find something interesting. Then i read some articles about about Pi being calculated to trillions of digit. I thought i could do that, so i found this programs that could.

http://www.numberworld.org/y-cruncher/     Y- cruncher 

After using this program i calculated pi to 100,000 digits in 87.239sec (total time)

and 268,435,456 digit in 275.820 sec (total time)

Guys this is a great way to Benchmark your PC/Laptop, tell me how long it took you to calculate Pi to 100,000 digits

Here is my Laptop Processor and Ram

Intel Core i5 CPU M 520 2.40GHz

1600mhz ddr3 kingston

 

If y cruncher is a multithreaded app it could be used to "semi benchmark" a CPU, truth is tho i highly doubt it any modern CPU would struggle to work this out.

i usually open up my java IDE (netbeans) and make a while loop adding 1 each time. then run it, when i stop it, it tells me the last number it counted to and how long that program was running.

nothing fancy,.... just a simple counter

here's my latest run:

 

as you can see my lenovo X200 laptop can add 1 about 20,000 times a second

If you used C++, you could get even more +1s per second! Java is slow, C++ is fast :)

Meh, I'm in AP comp sci in my high school and we're learning java.

C++ syntax is very similar to Java syntax. The benefit of C++ is that is doesn't got through the JVM, and saves resources and time.

100,000,000 in 24.931 seconds

94.4395% efficiency

i5 3470

8GB GSkill 1600 9-9-9-24

Rest of specs on profile

[IMG]http://i45.tinypic.com/2e5tvld.jpg[/IMG]

King of the castle

I didn't do any benchmarking but awhile back one of the YouTube channels I follow posted a video calculating the size of the Observable Universe using I think only 10 digits of Pi. I could be mistaken but here is the video. https://www.youtube.com/watch?v=FpyrF_Ci2TQ&feature=youtube_gdata_player

i7-2820qm tock 29 seconds. Not bad. Would love to try my old q9550 later.

I agree, manuall garbage collection FTW. Ultimate Control of your resources. Your also right, bytecode can never be as fast as machine code. A lot of Java people want to argue that.


http://xkcd.com/138/