On Wednesday, February 8, 2017, Felix Schumacher < [email protected]> wrote:
> Am 07.02.2017 22:46, schrieb Philippe Mouawad: > >> Hi Vladimir, Felix >> >> Thanks for this. >> @Vladimir, Sorry if my question is stupid (I may not have fully >> understood), but why percentiles are only on append and not on setText ? >> >> @Felix, could you commit your patches ? I'm currently using a lot JMeter >> these days, having them would let me test them within my everyday work. >> > > I will do it this evening, but if you want to do it earlier, feel free. it's your code I wouldn't be comfortable to commit it :) I'll wait, thx > > Felix > > >> Thanks >> >> >> Regards >> Philippe >> >> On Sat, Feb 4, 2017 at 6:39 PM, Vladimir Sitnikov < >> [email protected]> wrote: >> >> Felix>I looked at that, too. There are two options, one is the String (as >>> implemented) the other is a RDocument, which didn't look like it would >>> support it easily. But you might find a find, so look at it. >>> >>> Here's my benchmark for setText vs replaceRange+append >>> https://gist.github.com/vlsi/63a1d4732f027ce70229af830ce20648 >>> >>> It looks like it makes sense to use replaceRange+append. >>> >>> Felix>Formats are not threadsafe, so I put it inside the lock. >>> >>> Should we use ThreadLocals for formats? >>> It seems to be a trivial change, yet it would increase scalability. >>> >>> Vladimir >>> >>> -- Cordialement. Philippe Mouawad.
