I need a little help with something please....

GfK

Suspended / Banned
Messages
1,503
Edit My Images
No
Hi,

First off, please download this ZIP file. You will need to extract the EXE from the ZIP file before you can run it.

Its basically a piece of code I wrote to accept a string containing wildcards, and return as many matches as possible from a dictionary of about 180,000 words.

There are two tests I want you to do.

1. Type in 'p??at?' - should return 7 results.
2. Type in '????' - should return 3,919 results.

(it doesn't show you the actual results, as printing them all to the screen slows down the test and gives inaccurate results).

I need to know the time taken (this is shown at the end in milliseconds (ms)), and also, your processor speed. If you have a really rubbish system tucked away somewhere, PLEASE test on this!

That's it. Thx in advance. :)

My results:

TEST 1: 43ms
TEST 2: 37ms
CPU: Athlon XP3000+ @ 2.16GHz
 
Test 1: 35ms
Test 2: 32ms
CPU: AMD Opteron 148 (2.2GHz)
RAM: 1Gb DDR
 
Test 1: 62ms
Test 2: 54ms
CPU: Pentium 4 2.8GHz
RAM: 1Gb DDR
 
Test 1: 61ms
Test 2: 52ms
CPU: AMD Athlon XP 1800+ (1.53GHz)
RAM: 512Mb DDR
 
Test 1: 41ms
Test 2: 35ms
CPU: AMD Athlon XP 2800+ (2.08GHz Barton)
RAM: 1Gb DDR
 
Test 1: 79ms
Test 2: 70ms
CPU: Intel Celeron 2.2GHz (Dell laptop)
RAM: 512mb DDR
 
Test 1: 62ms
Test 2: 56ms
CPU: Intel Pentium 4 2.6GHz (Sony laptop)
RAM: 1Gb DDR
 
Test 1: 440ms
Test 2: 416ms
CPU: Intel Pentium II 233MHz (very old Compaq laptop)
RAM: 160Mb SDRAM

BTW all run Windows XP Pro (SP2) with exception of the Compaq laptop, which is running Windows 2000 Pro (SP4)
 
Sony Vaio S2XP

44ms
37ms
CPU - Pentium 1.8GHz Centrino
RAM - PC2700 DDR 512MB

Desktop workstation

56ms
50ms
CPU - Pentium 4 Northwood 2.8GHz (not currently overclocked)
RAM - PC4000 DDR 512Mb

If you care to compile it into Unix then i'll run it on my G4 and G5's :)
 
Thx for all the results so far. The P2-233 results are a little disturbing but I guess that'd be way below my minimum system requirements anyway.

I've had other people testing this and got results of around 100ms on a Duron 1.3Ghz, and I think I can just about get away with that. I don't think they're bad results anyway considering what the processor is doing in that time (specifically, iteration through over 170,000 elements of a datatype collection and about two and a half million string comparisons).
 
Test 1:36ms
Test 2:30ms

Athlon 64 3500+ (2.2Ghz San Diego Core)
1Gb RAM
 
1: 50ms
2:46ms

P4 3G
1g ram

................

1: 212ms
2:192ms

P3 500 Dell latitude laptop
256 ram
 
Back
Top