The rules: http://tomcat.apache.org/lists.html#tomcat-users -> 6. do not top-post -> 7. use plain text in your e-mail
No clue what is instruction in your piece of code is "the yellow" one. 2016-03-04 13:24 GMT+03:00 Tullio Bettinazzi <tullio0...@live.it>: > The problem is all in this small piece of code > ByteArrayOutputStream bbs = new ByteArrayOutputStream(); > BufferedOutputStream bos = new BufferedOutputStream(bbs); > trans.eseguiTrasformazioneOut(bos); > try { > bos.flush(); > initReponse(xpFileTypeOut.getMimeType(), xpFilename); > bbs.writeTo(getOutputStream()); > } catch (IOException ex) { > Messaggi.getErrori().getLogger().error("Errore in emettiFile ", > ex); > } > The yellow instruction take 100 ms in Tomcat7, quite stable on all clients, > in Tomcat8 it takes from 50 ms to 4500 ms stable on a single client PC but > very different from client to client. > Tks > Tullio > >> Subject: Re: Performance regression from 7 to 8 >> To: users@tomcat.apache.org >> From: ma...@apache.org >> Date: Fri, 4 Mar 2016 09:42:22 +0000 >> >> On 04/03/2016 09:39, Tullio Bettinazzi wrote: >> > I applied tour suggestion and analyzed, with firebug, the composition of >> > the time. >> > The difference between 7 and 8 is the "receiving" time which is more or >> > less zero in 7 and 2sec. in 8. >> > How can I understand such difference ? >> >> Try creating the simplest possible web application that demonstrates the >> problem. >> >> Mark >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org