sebb wrote: > Oops, forgot to mention - there are only 5 threads in the test; it > might be useful to try tests with increasing numbers of threads to see > if the relative numbers change.
I did (I used 50) and they get a little closer but not much. I left it at 5 as that was my best WAG as to how many threads might be in the AccessLogValve code at any one time. I have absolutely nothing to back up that guess. Mark > >> > Mark >> > >> > >> > > >> > > -Tim >> > > >> > > ma...@apache.org wrote: >> > >> Author: markt >> > >> Date: Thu Jun 18 08:32:29 2009 >> > >> New Revision: 785952 >> > >> >> > >> URL: http://svn.apache.org/viewvc?rev=785952&view=rev >> > >> Log: >> > >> Add some micro-benchmarks that enable the differences between the Sync >> > >> and ThreadLocal approach to be compared >> > > >> > > >> > > --------------------------------------------------------------------- >> > > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org >> > > For additional commands, e-mail: dev-h...@tomcat.apache.org >> > > >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org >> > For additional commands, e-mail: dev-h...@tomcat.apache.org >> > >> > >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org