Topic
  • 1 reply
  • Latest Post - ‏2012-07-24T10:02:34Z by SystemAdmin
SystemAdmin
SystemAdmin
123 Posts

Pinned topic Excel DVS test suite: time consumed in IlrXUStringCodec.decode()

‏2012-07-18T12:08:46Z |
Hello,

We are doing dvs test suite testing using an .xls file. Everything works fine except the speed of the execution of the test suite. With a test suite of 500 test scenarios, the total test takes 40 seconds from start to end. The total time execute the rules is 3.1 seconds. The attached screen capture shows alot of time in ilog.rules.dvs.rsi.utils.IlrXUStringCodec.decode(): 16 seconds.

I've extended the following classes and run it as a standalone J2SE application.
IlrExcelRunner
IlrTraceTester
IlrExcel2003ScenarioProvider

The only desire is to get the IBM generated .html file that is done automatically through IlrExcelRunner. There is no desire to save or do anything w/ Decision Warehouse (DW), results being save in XML, etc. Below is a stack trace showing where IlrXUStringCodec.decode() is used.

Thanks,Jim

Environment:
Windows XP Pro 32-bit, service pack 3
ILOG JRules - 7.1.1.2
jdk1.6.0_23

An instance of a stack trace during execution:
"main" prio=6 tid=0x002bdc00 nid=0x1bf4 runnable 0x0095e000
java.lang.Thread.State: RUNNABLE
at java.io.WinNTFileSystem.getBooleanAttributes(Native Method)
at java.io.File.exists(File.java:733)
at sun.misc.URLClassPath$FileLoader.getResource(URLClassPath.java:999)
at sun.misc.URLClassPath$FileLoader.findResource(URLClassPath.java:966)
at sun.misc.URLClassPath.findResource(URLClassPath.java:146)
at java.net.URLClassLoader$2.run(URLClassLoader.java:385)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findResource(URLClassLoader.java:382)
at java.lang.ClassLoader.getResource(ClassLoader.java:1003)
at java.lang.ClassLoader.getSystemResource(ClassLoader.java:1101)
at java.lang.ClassLoader.getSystemResourceAsStream(ClassLoader.java:1215)
at javax.xml.parsers.SecuritySupport$4.run(SecuritySupport.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at javax.xml.parsers.SecuritySupport.getResourceAsStream(SecuritySupport.java:89)
at javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:255)
at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:223)
at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:128)
at ilog.rules.dvs.rsi.utils.IlrXUStringCodec.decode(IlrXUStringCodec.java:293)
at ilog.rules.dvs.rsi.utils.IlrXUSerializationUtils.deserializeBOMTypeDescriptor(IlrXUSerializationUtils.java:113)
at ilog.rules.dvs.rsi.utils.IlrXUSerializationUtils.deserializeObjectFactorySignature(IlrXUSerializationUtils.java:214)
at ilog.rules.dvs.ssp.rsi.IlrSSPObjectModelServices.getObjectFactorySignature(IlrSSPObjectModelServices.java:134)
at ilog.rules.dvs.excel.impl.IlrLimitedExcel2003InlinedTypeManager.getInlinedTypeInformation(IlrLimitedExcel2003InlinedTypeManager.java:203)
at ilog.rules.dvs.excel.impl.IlrLimitedExcel2003InlinedTypeManager.getCellTypeForInlinedType(IlrLimitedExcel2003InlinedTypeManager.java:116)
at ilog.rules.dvs.excel.impl.IlrFlatExcel2003ScenarioSuiteReader.buildComplexObjectInFlatMode(IlrFlatExcel2003ScenarioSuiteReader.java:519)
at ilog.rules.dvs.excel.impl.IlrFlatExcel2003ScenarioSuiteReader.getScenarioInputParameters(IlrFlatExcel2003ScenarioSuiteReader.java:427)
at ilog.rules.dvs.core.scenarioproviders.IlrExcel2003ScenarioProvider.getScenarioInputParameters(IlrExcel2003ScenarioProvider.java:363)
at ilog.rules.dvs.core.scenarioproviders.IlrExcel2003ScenarioProvider.internalGetScenarioAt(IlrExcel2003ScenarioProvider.java:416)
at ilog.rules.dvs.core.scenarioproviders.IlrExcel2003ScenarioProvider.getScenarioAt(IlrExcel2003ScenarioProvider.java:212)
at ilog.rules.dvs.runner.impl.IlrRunnerImpl.run(IlrRunnerImpl.java:261)
at ilog.rules.dvs.runner.impl.IlrRunnerImpl.run(IlrRunnerImpl.java:123)
at ilog.rules.dvs.ssp.impl.IlrSSPServiceImpl.run(IlrSSPServiceImpl.java:79)
at ilog.rules.dvs.ssp.IlrLocalSSPService.run(IlrLocalSSPService.java:102)
at ilog.rules.studio.dvs.execution.IlrDVSRunner.run(Unknown Source)
at com.MyDVSRunner.main(MyDVSRunner.java:626)
Updated on 2012-07-24T10:02:34Z at 2012-07-24T10:02:34Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    123 Posts

    Re: Excel DVS test suite: time consumed in IlrXUStringCodec.decode()

    ‏2012-07-24T10:02:34Z  
    Hi Jim,

    This performance issue is corrected in WODM 8.0 ... it's the new name of ILOG JRules ;)

    Hope this helps,

    Nicol@s