With a little help from my Friends' ...

With a little help from my Friends' ...

Re: With a little help from my Friends' ... Posted by Forceflow on Fri Sep 22nd 2006 at 11:20pm
Forceflow
2420 posts
Posted 2006-09-22 11:20pm
2420 posts 451 snarkmarks Registered: Nov 6th 2003 Occupation: Engineering Student (CS) Location: Belgium
Hello there,

Some of you may know that I'm working on a Java-based sudoku solver. (Project info can be found at http://sudokusolve.sourceforge.net)

I'm very close on releasing v0.2 of the program, but there's still one last thing to deal with (the fear of every programmer): optimisation. I wondered what the influence of CPU power is on the solving algorithm, so I started this thread to ask for a simple request.

I've written a small tool which does one sudoku solve, and shows a simple dialog containing the amount of milliseconds which were needed.

User posted image

http://www.forceflow.be/dl/sudoku_CPUtest.exe

Let me know how many milliseconds it took, and post your CPU type/version too. Please run this tool on a 'clean' environment (don't run any background tasks like music, messaging or e-mail whilst using the tool. It will only take a couple of seconds - and thats the worst case scenario.)

Of course, a recent Java Runtime Installation is needed.

Note: I know what some of you might be thinking. Running unknown executables from teh interweb : noes. And you're perfectly right. You'll have to believe me this doesn't contain any malicious code. You can examinate the JAR file this executable was built from here:
:: Forceflow.be :: Nuclear Dawn developer
Re: With a little help from my Friends' ... Posted by Mephs on Sat Sep 23rd 2006 at 12:39am
Mephs
381 posts
Posted 2006-09-23 12:39am
Mephs
member
381 posts 38 snarkmarks Registered: Sep 18th 2004 Occupation: Office Monkey Location: Northern Ireland
Not to alarm anyone, but I did have to restart after running that! But them my computer is exceedingly crap.
Re: With a little help from my Friends' ... Posted by Gorbachev on Sat Sep 23rd 2006 at 1:16am
Gorbachev
1569 posts
Posted 2006-09-23 1:16am
1569 posts 264 snarkmarks Registered: Dec 1st 2002 Location: Vancouver, BC, Canada
234ms

I have an AMD X2 s939 rated/running at 3800+.
Re: With a little help from my Friends' ... Posted by Forceflow on Sat Sep 23rd 2006 at 1:25am
Forceflow
2420 posts
Posted 2006-09-23 1:25am
2420 posts 451 snarkmarks Registered: Nov 6th 2003 Occupation: Engineering Student (CS) Location: Belgium
@ Mephs:

Sounds like a faulty Java install.
:: Forceflow.be :: Nuclear Dawn developer
Re: With a little help from my Friends' ... Posted by reaper47 on Sat Sep 23rd 2006 at 4:45pm
reaper47
2827 posts
Posted 2006-09-23 4:45pm
reaper47
member
2827 posts 1921 snarkmarks Registered: Feb 16th 2005 Location: Austria
390ms

on an Athlon 64, 3000+ (2Ghz)
nothing clocked or anything... obviously.
Re: With a little help from my Friends' ... Posted by BlisTer on Sun Sep 24th 2006 at 11:10am
BlisTer
801 posts
Posted 2006-09-24 11:10am
BlisTer
member
801 posts 1304 snarkmarks Registered: Jun 10th 2004 Location: Belgium
516 ms

AMD athlon xp 2500+ @ 1.83 Ghz
These words are my diaries screaming out loud
Re: With a little help from my Friends' ... Posted by ReNo on Sun Sep 24th 2006 at 12:48pm
ReNo
5457 posts
Posted 2006-09-24 12:48pm
ReNo
member
5457 posts 1991 snarkmarks Registered: Aug 22nd 2001 Occupation: Level Designer Location: Scotland
Re: With a little help from my Friends' ... Posted by Dred_furst on Sun Sep 24th 2006 at 4:15pm
Dred_furst
455 posts
Posted 2006-09-24 4:15pm
455 posts 135 snarkmarks Registered: Sep 3rd 2003 Location: UK
Someone needs to make this in ASM to make it more efficient :smile:
I need a new sig
Re: With a little help from my Friends' ... Posted by Naklajat on Sun Sep 24th 2006 at 9:43pm
Naklajat
1137 posts
Posted 2006-09-24 9:43pm
Naklajat
member
1137 posts 384 snarkmarks Registered: Nov 15th 2004 Occupation: Baron Location: Austin, Texas
156ms

Opteron 148 @ 2550MHz

Is there a way you could get it to take advantage of multi-core systems?

o

Re: With a little help from my Friends' ... Posted by Stadric on Sun Sep 24th 2006 at 10:30pm
Stadric
848 posts
Posted 2006-09-24 10:30pm
Stadric
member
848 posts 585 snarkmarks Registered: Jun 3rd 2005 Occupation: Slacker Location: Here
297
282
297
297
On the desktop, with a Pentium 4, 2.8 Ghz
Also change the texture of the dock. Docks are rarely tile. -Facepunch
As I Lay Dying
Re: With a little help from my Friends' ... Posted by gimpinthesink on Mon Sep 25th 2006 at 6:03pm
gimpinthesink
662 posts
Posted 2006-09-25 6:03pm
662 posts 176 snarkmarks Registered: Apr 21st 2002 Occupation: student Location: Forest Town, Notts
328ms

On a Athlon XP 3200+ @ 2.2GHz
Tinterweb site
Deviantart

Human knowledge belongs to the world
Re: With a little help from my Friends' ... Posted by Jimmi on Mon Sep 25th 2006 at 7:48pm
Jimmi
217 posts
Posted 2006-09-25 7:48pm
Jimmi
member
217 posts 22 snarkmarks Registered: May 17th 2006 Location: South Africa
188
187
188
187
203
188
188
188

Generaly hung around 188.
So basicly it was 188.

Pentium 4 3.00 Ghz (Hyper Threaded)
Re: With a little help from my Friends' ... Posted by Tracer Bullet on Tue Sep 26th 2006 at 2:55am
Tracer Bullet
2271 posts
Posted 2006-09-26 2:55am
2271 posts 445 snarkmarks Registered: May 22nd 2003 Occupation: Graduate Student (Ph.D) Location: Seattle WA, USA
172 ms.

Intel. Pentium M. 1.73 GHZ

Why is my dinky little laptop running this so much faster than those other beefier systems? Is this directly proportional to processing power, or are there other complicating factors?
Some people are like slinkys...

They aren?t really good for anything, but you can't help but laugh when one tumbles down the stairs.