[ 
https://issues.apache.org/jira/browse/AVRO-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Oliver updated AVRO-355:
------------------------------

    Attachment: AVRO-355.patch

Here is a patch that uses a fixed seed for all the random numbers.

> io.Perf test harness uses different random number seeds for each run
> --------------------------------------------------------------------
>
>                 Key: AVRO-355
>                 URL: https://issues.apache.org/jira/browse/AVRO-355
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.3.0
>            Reporter: Kevin Oliver
>            Priority: Minor
>         Attachments: AVRO-355.patch
>
>
> Each java.math.Random that is created in io.Perf uses the default seed which 
> is based on the current time of your environment. This makes comparing two 
> different runs of the tool less comparable as it varies the number of 
> multi-byte variable length encoded numbers that are generated from run to 
> run. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to