[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Optimizing genrated advisors

kabir.khan@jboss.com do-not-reply at jboss.com
Mon Jul 16 11:05:10 EDT 2007


I've improved the configuration of the stress framework. See https://svn.jboss.org/repos/jbossas/projects/aop/trunk/aop/src/test/org/jboss/test/aop/stress/ScenarioPropertyReader.java for available properties. It now consists of several levels, if found at a given level it will use that value, otherwise it will hit the next level. The levels are:

1) System Properties, i.e. -Dwarmup=500
2) Single Test configuration, e.g. src/resources/test/stress/simple/SimpleReflectToJavassistTestCase_testException.properties would configure properties for just that test
3) TestCase configuration, e.g. src/resources/test/stress/simple/SimpleReflectToJavassistTestCase.properties would configure defauls for all tests within that test case
4) Global stress defaults, configured in src/resources/test/stress/config.properties
https://svn.jboss.org/repos/jbossas/projects/aop/trunk/aop/src/resources/test/stress/config.properties
5) Hardcoded default values in DefaultScenarioPropertyReader



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064592#4064592

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064592



More information about the jboss-dev-forums mailing list