I guess you could add a filter both before and after the filter you are
interested in, have the first one stick the current time in the
ServletRequest as an attribute, and the the one after the other filter can
calculate how much time was spent. We don't really have any way of
intercepting a filter in embedded Undertow.
On Tue, Jan 22, 2019 at 5:47 PM Gaby Soria <soria.gaby(a)gmail.com> wrote:
I would really appreciate a piece of advice on how to do something. I'm
working to measure the performance overhead adding the opentracing filter
to a webapp
(using java-web-servlet-filter library from
Until now, I have a test, using JMH to start to deploy and simple servlet
application and start the undertow server and test it using an http client.
But I want to measure in the server side without considering the networking
activity. How can I do that? My test, for now, is:
Thanks in advance
undertow-dev mailing list