4-core OSX (for comparison with Winders) Did half a dozen runs in Eclipse, for just this unit test.
for testManagerBaseGenerateSessionId() 1 thread - ~500ms 2 threads - ~1200ms 4 threads - ~2500ms 16 threads - ~10000ms for testManagerBaseCreateSession() 1 thread - ~700ms 2 threads - ~1900ms 4 threads - ~4400ms 16 threads - ~18000ms Not sure why the 2nd test isn't better. p On 16/11/2010 19:39, ma...@apache.org wrote: > Author: markt > Date: Tue Nov 16 19:39:07 2010 > New Revision: 1035759 > > URL: http://svn.apache.org/viewvc?rev=1035759&view=rev > Log: > Additional results for reference > > Modified: > tomcat/trunk/test/org/apache/catalina/session/Benchmarks.java > > Modified: tomcat/trunk/test/org/apache/catalina/session/Benchmarks.java > URL: > http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/session/Benchmarks.java?rev=1035759&r1=1035758&r2=1035759&view=diff > ============================================================================== > --- tomcat/trunk/test/org/apache/catalina/session/Benchmarks.java (original) > +++ tomcat/trunk/test/org/apache/catalina/session/Benchmarks.java Tue Nov 16 > 19:39:07 2010 > @@ -35,6 +35,12 @@ public class Benchmarks extends TestCase > * 2 threads - ~400ms > * 4 threads - ~970ms > * 16 threads - ~4,000ms > + * > + * Results on markt's 2-core OSX dev box > + * 1 thread - ~720ms > + * 2 threads - ~1,700ms > + * 4 threads - ~3,100ms > + * 16 threads - ~12,700ms > */ > public void testManagerBaseGenerateSessionId() { > doTestManagerBaseGenerateSessionId(1, 100000); > @@ -112,6 +118,12 @@ public class Benchmarks extends TestCase > * 2 threads - ~800ms > * 4 threads - ~1,600ms > * 16 threads - ~6,900ms > + * > + * Results on markt's 2-core OSX dev box > + * 1 thread - ~1,500ms > + * 2 threads - ~2,500ms > + * 4 threads - ~4,500ms > + * 16 threads - ~18,600ms > */ > public void testManagerBaseCreateSession() { > doTestManagerBaseCreateSession(1, 100000); > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org >
0x62590808.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature