You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Philippe Mouawad <ph...@gmail.com> on 2017/02/07 22:00:14 UTC

Re: [Bug 60687] Make GUI more responsive when LoggerPanel gets a lot of events

But is comparison fair in this case ?
Thanks

On Tue, Feb 7, 2017 at 10:54 PM, Vladimir Sitnikov <
sitnikov.vladimir@gmail.com> wrote:

> Philippe>@Vladimir, Sorry if my question is stupid (I may not have fully
> understood), but why percentiles are only on append and not on setText ?
>
> setText replaces the whole text.
> There's no way to "setText just 10% of the text".
>
> On contrary, replace can trim first 10%, then append can append some more
> text.
>
> Vladimir
>



-- 
Cordialement.
Philippe Mouawad.

Re: [Bug 60687] Make GUI more responsive when LoggerPanel gets a lot of events

Posted by Vladimir Sitnikov <si...@gmail.com>.
Philippe>But is comparison fair in this case ?

Well, of course it is.

It could make sense to integrate "UI freeze profiling" right into JMeter
code so we could identify those freezes and tame them.
For instance: take an automatic thread dump in case UI thread spends more
than 500ms when processing a request (or something like that).

If we could capture UI latencies somehow, then we could plot them and
compare them (e.g. validate how different fixes impact/improve actual
JMeter use).


Back to the comparison, let me just cite the the conclusions for you (pay
attention to the second sentence of the first paragraph):

According to the measurements, replaceRange + append works faster than
setText except for the case when text is fully replaced. *In 100% replace
case setText is on par with replaceRange + append (the results are within
error bounds).*

For small appends there's a win in terms of response time and memory
allocation.

Vladimir