jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: DO NOT REPLY [Bug 52333] New: Consider how to reduce overhead in calculating SampleResult#nanoTimeOffset
Date Wed, 14 Dec 2011 18:02:15 GMT
I created the bug to ensure it's not forgotten.

I'm working on it at present.

On 14 December 2011 17:57,  <bugzilla@apache.org> wrote:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=52333
>
>             Bug #: 52333
>           Summary: Consider how to reduce overhead in calculating
>                    SampleResult#nanoTimeOffset
>           Product: JMeter
>           Version: 2.5.1
>          Platform: PC
>        OS/Version: All
>            Status: NEW
>          Severity: enhancement
>          Priority: P2
>         Component: Main
>        AssignedTo: issues@jmeter.apache.org
>        ReportedBy: sebb@apache.org
>    Classification: Unclassified
>
>
> When using System.nanoTime(), the SampleResult ctors calculate the current
> offset from currentTimeMillis().
>
> This was previously done just once when the class was initialised, but this was
> found to cause problems because of drift - see Bug 51855.
>
> Consider using a background thread to calculate the offset, rather than
> calculating it for each sample - this should reduce the overhead for high
> sample rates. So long as the time between refreshes is kept reasonably low,
> drift should not be sufficient to cause an issue.
>
> --
> Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are the assignee for the bug.

Mime
View raw message