[jboss-user] [JBoss Microcontainer Development] - Benchmarking classloaders
Kabir Khan
do-not-reply at jboss.com
Fri Jul 23 09:40:20 EDT 2010
Kabir Khan [http://community.jboss.org/people/kabir.khan%40jboss.com] replied to the discussion
"Benchmarking classloaders"
To view the discussion, visit: http://community.jboss.org/message/554175#554175
--------------------------------------------------------------
The new simpler scenario has a 100 jars with 10 packages and 15 classes per package, one loader per jar.
The tests are called SiblingVFSXXXBenchmarkTestCase and they run as follows:
Use Loader1 to load all its own classes and those from Loader2
Use Loader2 to load all its own classes and those from Loader3
...
For the exact classloading setups I make Loader 1 import the module/packages exported by Loader2 etc.
I run the tests individually using e.g.
mvn install -Dtest=SiblingVFSImportPackageLoaderBenchmarkTestCase
Running each test individually, I get these average results over 7 runs
||
|| *Deploy (ms)* || *Load Classes (ms)* ||
| *Big ball of mud* | 1439 | 4485 |
| *Package* | 1321 | 4880 |
| *Module* | 1461 | 4874 |
The code lives in svn under https://svn.jboss.org/repos/jbossas/projects/cl-benchmark/trunk https://svn.jboss.org/repos/jbossas/projects/cl-benchmark/trunk
Each family of tests uses its own AbstractTestSetCreator implementation which generates jars under their own directory, e.g. ThreeDeepTestSetCreator and SiblingTestCreator. The tests currently
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/554175#554175]
Start a new discussion in JBoss Microcontainer Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2115]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100723/ba2b74ac/attachment.html
More information about the jboss-user
mailing list