|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
[DNO] Scoring System Benchmark
Matt,
Can you post a siple loop script that runs for 30 seconds on your Scoring Machine? That way we can benchmark how fast our system is vs. the contest machine. Thanks Vader |
|
#2
|
|||
|
|||
|
RE: [DNO] Scoring System Benchmark
siple = simple
|
|
#4
|
|||
|
|||
|
RE: [DNO] Scoring System Benchmark
Just kidding...I'll work something up for you. This sounds like a reasonable request...
|
|
#5
|
|||
|
|||
|
RE: [DNO] Scoring System Benchmark
|
|
#6
|
|||
|
|||
|
RE: [DNO] Scoring System Benchmark
Wow, thats helpful. A script that runs in 30 seconds on my machine would like run in a second... that took almost 3 minutes to run... wow...
|
|
#7
|
|||
|
|||
|
RE: [DNO] Scoring System Benchmark
Wow, you must have a slow machine
|
|
#8
|
|||
|
|||
|
RE: [DNO] Scoring System Benchmark
Thanks Matt!
FYI: Mobil Intel Pentium 3 @ 1GHz = 22.16 Sec |
|
#9
|
|||
|
|||
|
RE: [DNO] Scoring System Benchmark
Xeon 2.4GHz: 11.3 seconds... I'd better adjust my time limit to something much less than 30 :/
|
|
#10
|
|||
|
|||
|
RE: [DNO] Scoring System Benchmark
Can one say that if this code works in 1/3 of the time (in comparison to the time on Matt's pc), that all code works in 1/3 of the time?
Does anyone understand what I'm saying? |
|
#11
|
|||
|
|||
|
RE: [DNO] Scoring System Benchmark
My Athlon XP1800+ runs it in 13.6 secs. So that means that i 'll have to optimize my script for this time!
|
|
#12
|
|||
|
|||
|
RE: RE: [DNO] Scoring System Benchmark
Quote:
Yes i understand what you say but i am not very sure about it. I think as a rough estimate all code will run in 1/3 of the time. |
|
#13
|
|||
|
|||
|
RE: [DNO] Scoring System Benchmark
Oups, 10.48757 seconds on my P4 2.4Ghz.
I guess I'll have to seriously optimize my program to finish 50x50 grids ! JC |
|
#14
|
|||
|
|||
|
RE: [DNO] Scoring System Benchmark
matt. on a totaly unrelated offtopic:
why do you insist on using that function getmicrotime() when it can be done with: $start=time()+microtime(); ... |
|
#15
|
|||
|
|||
|
RE: [DNO] Scoring System Benchmark
I guess I just don't like to rely on PHP's ability to convert a string to a float. I'm just used to the strict variables of other languages
|
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Older Contests > [DNO] Scoring System Benchmark |
| Thread Tools |