Hide Forgot
securitylevel_name: Public When trying to import drl file (see attachment) and ModeShape is used as JCR backend, the import takes too much time. Comparing to JR in some cases it is more than 20 times slower. The bigger the importing content is, the more times slower the import is. Example: File with 3800 lines (attached): takes 900s with ModeShape, 60s with JR -- cca 15 times slower File with 300 lines: takes 70s with ModeShape, 9s with JR -- cca 7 times slower The test was run with HSQL, mysql51 and with in-memory repo and the results are pretty much same.
Added ModeShape config files, DRL file that is being imported and some charts that shows the duration of test.
Attachment: Added: brms-repo-test-jacrabbit-derby.png Attachment: Added: brms-repo-test-modeshape-config-in-memory.png Attachment: Added: brms-repo-test-modeshape-default-config-hsql.png Attachment: Added: modeshape-config.xml Attachment: Added: modeshape-config-in-memory.xml Attachment: Added: small_repo.drl
Link: Added: This issue is related to BRMS-557
This will be tested in the first 5.2 build.
1st. based on the modeshape-config.xml, you are running with very old code, because it doesn't have the changes that improves startup. 2nd. with the new changes, tasks that were performed on the first time publishing has been moved to startup, so that no priming needs to be done so that subsequent publishings should see better improvement. I'm assuming here, there was no priming, just one file being published. Hence, the slowness of publishing. I would suggest holding off on all modeshape performance related testing until you've changed over to use ER2. Your configuration files will need updating.