lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doron Cohen" <cdor...@gmail.com>
Subject Re: svn commit: r617991 - /lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/PerfRunData.java
Date Mon, 04 Feb 2008 05:53:29 GMT
Mike, do you think this should be done only when eraseIndex=true ?

On Sun, Feb 3, 2008 at 4:24 PM, <mikemccand@apache.org> wrote:

> Author: mikemccand
> Date: Sun Feb  3 06:24:30 2008
> New Revision: 617991
>
> URL: http://svn.apache.org/viewvc?rev=617991&view=rev
> Log:
> when reinit() is called, reset the start time (used only when printing #
> docs indexed)
>
> Modified:
>
>  lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/PerfRunData.java
>
> Modified:
> lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/PerfRunData.java
> URL:
> http://svn.apache.org/viewvc/lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/PerfRunData.java?rev=617991&r1=617990&r2=617991&view=diff
>
> ==============================================================================
> ---
> lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/PerfRunData.java
> (original)
> +++
> lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/PerfRunData.java
> Sun Feb  3 06:24:30 2008
> @@ -137,6 +137,9 @@
>     // release unused stuff
>     System.runFinalization();
>     System.gc();
> +
> +    // Re-init clock
> +    setStartTimeMillis();
>   }
>
>   public long setStartTimeMillis() {
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message