Java validation time

The forum to report every bug you find or tell us what you'd like to find in UVa OJ

Moderator: Board moderators

Locked
Erkil1452
New poster
Posts: 2
Joined: Fri Nov 02, 2007 6:01 pm

Java validation time

Post by Erkil1452 »

How is it, that when I submit one code 10 times on your new validator, I get result times from 220 ms to 340 ms. It is qiute difference...
Carlos
System administrator
Posts: 1286
Joined: Sat Oct 13, 2001 2:00 am
Location: Valladolid, Spain
Contact:

Post by Carlos »

If you know any accurate method to measure the execution time, specially when using jvm, please share it with us.

Thanks.
DON'T PM ME --> For any doubt, suggestion or error reporting, please use the "Contact us" form in the web.
maxdiver
Learning poster
Posts: 51
Joined: Tue Sep 04, 2007 2:12 pm
Location: Russia, Saratov
Contact:

Post by maxdiver »

GetProcessTimes()?
(though I didn't experimented with JVM :) )
CMG
New poster
Posts: 37
Joined: Sat Dec 08, 2007 5:01 am
Location: ...

Post by CMG »

Ive also noticed this. I have also noticed that for java it seems that the fastest program execution is 0.080 basically the time to initialize the JVM. Would there be any way to minus out the initialization time?
Carlos
System administrator
Posts: 1286
Joined: Sat Oct 13, 2001 2:00 am
Location: Valladolid, Spain
Contact:

Re: Java validation time

Post by Carlos »

Finally we won't apply any kind of compensation for any language. The time we show is the time that takes the shell command to produce an answer. JVM initialization time is part of this time. Sorry.
DON'T PM ME --> For any doubt, suggestion or error reporting, please use the "Contact us" form in the web.
Locked

Return to “Bugs and suggestions”