Pixalo Photography Community

Go Back   Pixalo Photography Community > Photography Forums > General photography questions and answers

General photography questions and answers: Discuss I need a little help with something please.......Hi, First off, please download this ZIP file . You will need to extract the EXE from the ZIP file ...
Welcome to the Pixalo Photography Community. As a Guest you are free to browse the site, but see what extras you get as a Member here.


Reply
 
LinkBack Thread Tools Display Modes
Old 27-12-2005, 01:40   #1 (permalink)
GfK
Forum Regular
 
Join Date: Aug 2005
Posts: 861
GfK is on a distinguished roadGfK is on a distinguished road
User's Gallery
I need a little help with something please....

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
__________________
The camera never lies, but Photoshop does.

Last edited by GfK; 27-12-2005 at 01:42.
GfK is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 27-12-2005, 02:00   #2 (permalink)
Feet under the table
 
Warspite's Avatar
 
Join Date: Sep 2005
Location: Newcastle Sunderland Middlesbrough (UK)
Posts: 1,735
Warspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enough

Image editing O.K.
User's Gallery
Users Camera Equipment List
Test 1: 35ms
Test 2: 32ms
CPU: AMD Opteron 148 (2.2GHz)
RAM: 1Gb DDR
Warspite is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 27-12-2005, 02:03   #3 (permalink)
Feet under the table
 
Warspite's Avatar
 
Join Date: Sep 2005
Location: Newcastle Sunderland Middlesbrough (UK)
Posts: 1,735
Warspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enough

Image editing O.K.
User's Gallery
Users Camera Equipment List
Test 1: 62ms
Test 2: 54ms
CPU: Pentium 4 2.8GHz
RAM: 1Gb DDR
Warspite is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 27-12-2005, 02:06   #4 (permalink)
Feet under the table
 
Warspite's Avatar
 
Join Date: Sep 2005
Location: Newcastle Sunderland Middlesbrough (UK)
Posts: 1,735
Warspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enough

Image editing O.K.
User's Gallery
Users Camera Equipment List
Test 1: 61ms
Test 2: 52ms
CPU: AMD Athlon XP 1800+ (1.53GHz)
RAM: 512Mb DDR
Warspite is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 27-12-2005, 02:09   #5 (permalink)
Feet under the table
 
Warspite's Avatar
 
Join Date: Sep 2005
Location: Newcastle Sunderland Middlesbrough (UK)
Posts: 1,735
Warspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enough

Image editing O.K.
User's Gallery
Users Camera Equipment List
Test 1: 41ms
Test 2: 35ms
CPU: AMD Athlon XP 2800+ (2.08GHz Barton)
RAM: 1Gb DDR
Warspite is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 27-12-2005, 02:13   #6 (permalink)
New here
 
Join Date: Sep 2005
Location: Aberdeen
Posts: 19
sloth is on a distinguished roadsloth is on a distinguished road
User's Gallery
TEST 1: 31ms
TEST 2: 26ms
CPU: Opteron 144 @ 2.6ghz
sloth is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 27-12-2005, 02:25   #7 (permalink)
Feet under the table
 
Warspite's Avatar
 
Join Date: Sep 2005
Location: Newcastle Sunderland Middlesbrough (UK)
Posts: 1,735
Warspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enough

Image editing O.K.
User's Gallery
Users Camera Equipment List
Test 1: 79ms
Test 2: 70ms
CPU: Intel Celeron 2.2GHz (Dell laptop)
RAM: 512mb DDR
Warspite is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 27-12-2005, 02:39   #8 (permalink)
Feet under the table
 
Warspite's Avatar
 
Join Date: Sep 2005
Location: Newcastle Sunderland Middlesbrough (UK)
Posts: 1,735
Warspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enough

Image editing O.K.
User's Gallery
Users Camera Equipment List
Test 1: 62ms
Test 2: 56ms
CPU: Intel Pentium 4 2.6GHz (Sony laptop)
RAM: 1Gb DDR
Warspite is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 27-12-2005, 02:55   #9 (permalink)
Feet under the table
 
Warspite's Avatar
 
Join Date: Sep 2005
Location: Newcastle Sunderland Middlesbrough (UK)
Posts: 1,735
Warspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enoughWarspite will become famous soon enough

Image editing O.K.
User's Gallery
Users Camera Equipment List
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)
Warspite is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 27-12-2005, 10:38   #10 (permalink)
Been here a while
 
evilowl's Avatar
 
Join Date: Sep 2005
Location: Marlborough
Posts: 377
evilowl will become famous soon enoughevilowl will become famous soon enoughevilowl will become famous soon enoughevilowl will become famous soon enoughevilowl will become famous soon enoughevilowl will become famous soon enough

Image editing O.K.
User's Gallery
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
evilowl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 27-12-2005, 11:06   #11 (permalink)
Forum Regular
 
Joe T's Avatar
 
Join Date: Mar 2005
Location: Amersham, Bucks
Posts: 978
Joe T will become famous soon enoughJoe T will become famous soon enoughJoe T will become famous soon enoughJoe T will become famous soon enoughJoe T will become famous soon enoughJoe T will become famous soon enoughJoe T will become famous soon enough

Image editing O.K.
User's Gallery
Test 1: 43ms
Test 2: 38ms

Athlon 64 3000+ (s754, Newcastle core)
1 gb RAM
Joe T is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 27-12-2005, 14:50   #12 (permalink)
GfK
Forum Regular
 
Join Date: Aug 2005
Posts: 861
GfK is on a distinguished roadGfK is on a distinguished road
User's Gallery
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).
GfK is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 27-12-2005, 16:47   #13 (permalink)
Getting Comfy
 
CriPPle's Avatar
 
Join Date: Apr 2005
Location: Biggin Hill
Posts: 238
CriPPle is an unknown quantity at this point

Image editing O.K.
User's Gallery
Test 1:36ms
Test 2:30ms

Athlon 64 3500+ (2.2Ghz San Diego Core)
1Gb RAM
CriPPle is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 27-12-2005, 17:56   #14 (permalink)
Forum Regular
 
RobertP's Avatar
 
Join Date: Sep 2005
Location: Woodford Essex
Posts: 838
RobertP is on a distinguished roadRobertP is on a distinguished road

Image editing O.K.
User's Gallery
1: 50ms
2:46ms

P4 3G
1g ram

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

1: 212ms
2:192ms

P3 500 Dell latitude laptop
256 ram
RobertP is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 27-12-2005, 18:47   #15 (permalink)
P-E
Part of the furniture
 
Join Date: Aug 2005
Location: Sheffield, S.Yorkshire UK
Posts: 12,250
P-E is a name known to allP-E is a name known to allP-E is a name known to allP-E is a name known to all
P-E is a name known to allP-E is a name known to allP-E is a name known to allP-E is a name known to allP-E is a name known to all

Image editing O.K.
User's Gallery
Users Camera Equipment List
1: 31ms
2: 27ms

AMD 64 3700+
2G RAM
P-E is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:34.


vBulletin Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
ReviewPost & PhotoPost vB3 Enhanced, Copyright 2003-2014 All Enthusiast, Inc.
SEO by vBSEO 3.3.0
Copyright 2006 - 2017 Pixalo.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196