Featured Worklog

Price Search



PC Apex Sponsor


PC Apex Sponsors



PC Apex RSS Feeds

RSS Feed for PC Apex Reviews & ArticlesRSS Feed for PC Apex PC Modding WorklogsRSS Feed for the PC Apex Daily DisturbanceRSS Feed for the latest PC Apex Site NewsRSS Feed for PC Apex Affiliate and Web NewsRSS Feed for PC Apex Deals and Steals

Go Back   Apex Community Forums // PC Apex Forums // Benchmarking // Apps

Apps Share your knowledge on benchmark apps.

Reply
 
LinkBack Thread Tools Display Modes
Old 19-March-04, 10:21 AM   #1 (permalink)
Pimp PHP Pro
vladimir's Avatar
Thumbs up Towers Of Hanoi Benchmark

Ok, so I got bored yesterday and decide to write something cool, what i ended up with is a benchmark

so far this is written in java, so you need to have SUN java installed, get it at http://www.java.com/en/index.jsp The reason you need sun java and not M$ virtual machine is because virtual machine is faster, and this would be considered cheating, since virtual machine is not available to all platforms.

In the zip file you will find TerminalIO.jar file, copy it to C:\Program Files\Java\j2re1.4.2_04\lib\ext\ (Default Java folder) or whatever dir you installed sun java \lib\ext\

What this program does is use Tower Of Hanoi algorithm to move rings from peg to peg to peg until all of them end up on the opposite peg that rings were originally started moving from. If you want to know more, just Google it, youÂ’ll find tons of results.

Format of the result is in hours:minutes:seconds.miliseconds, the smaller the number the better. This bench would keep your system @ 100% cpu.

Just to show some sample results on my systemÂ…
To move 15 rings on my system p4 2.4gh it took 00:00:03.469
To move 20 rings on my system p4 2.4gh it took 00:01:51.172

So what the hell are you waiting for? Download the benchmark here, and post your time and system specs. Post results for 15 rings and 20 rings.

Created by CLowN (clownATpcapex.com) © 2004
vladimir is offline     Reply With Quote
Old 19-March-04, 06:12 PM   #2 (permalink)
Apex Master Tech
Dakas's Avatar
Default

Heh...I wrote hanoi once, but in c++, for DOS. Very ghetto. One time we ran it all weekend to see if the P3 500s we had would finish. Sad to say, after a couple of days you'd get a stack space error. I blame the compiler. MY code never leaks memory...
Dakas is offline     Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Advice on Mid Towers raydub Hardware Advice Corner 2 12-March-07 10:39 PM
Anandtech // Value Cooling: Two Towers for under $30 Gizmo Anandtech RSS 0 23-January-07 10:00 AM
Anandtech // A Trio of Thermaltake Towers Gizmo Anandtech RSS 0 16-August-06 03:00 AM
Exhaust towers - help ratchetfps Case Modding 41 26-June-06 04:57 PM
WANTED: Old Towers Kratos Trading Post 16 28-August-05 02:59 PM


All times are GMT -5. The time now is 05:39 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright PCApex.com, GameApex.com, ForumApex.com 2001 - 2008
Advertisements

Page generated in 0.12137 seconds with 9 queries