I tested with 8.20 and 8.32
With nothing changed I meant simply that results didn't change.
Tks
Tullio

> Subject: Re: Performance regression from 7 to 8
> To: users@tomcat.apache.org
> From: ma...@apache.org
> Date: Sat, 5 Mar 2016 18:40:36 +0000
> 
> On 04/03/2016 13:19, Tullio Bettinazzi wrote:
> > Done and nothing changed.
> 
> What has changed is that you have now provided a test case that someone
> else can run easily and confirm, or not, your findings.
> 
> > Any suggestion ?
> 
> Before anyone spends time looking at this the other question I don't see
> answered in this thread is "Exactly which Tomcat 8 version were you
> testing?". If it isn't the the latest then you'll need to retest to
> confirm the issue hasn't already been fixed.
> 
> Mark
> 
> > Here the code.
> > 
> > package axioma.rubik.engine.web.servlet;
> > 
> > import java.io.*;
> > import javax.servlet.ServletException;
> > import javax.servlet.annotation.WebServlet;
> > import javax.servlet.http.*;
> > 
> > @WebServlet(name="Test8", description="Direct update of data", 
> > urlPatterns={"/Test8"})
> > public class Test8Servlet extends HttpServlet {
> >     
> >     private static final long serialVersionUID = 1L;
> > 
> >     @Override
> >     protected void doGet(HttpServletRequest request, HttpServletResponse 
> > response) throws ServletException, IOException {
> >         try {
> >             fai(response);
> >         } catch (Exception ex) {
> >             ex.printStackTrace();
> >         }
> >     }
> > 
> >     public void fai(HttpServletResponse response) throws IOException {
> >         ByteArrayOutputStream bbs = new ByteArrayOutputStream();
> >         BufferedOutputStream bos = new BufferedOutputStream(bbs);
> >         for(int i = 0; i < 400000; i++) {
> >             bos.write(96);
> >         }
> >         bos.flush();
> >         bbs.writeTo(response.getOutputStream());
> >     }
> > }
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
                                          

Reply via email to