[
https://issues.apache.org/jira/browse/OAK-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14702933#comment-14702933
]
Davide Giannella commented on OAK-3251:
---------------------------------------
Didn't look at the actual code yet so a full investigation and check
will be needed; but here's the plan. Can the mentioned ppl share their
opinions?
[~mduerig], [~alex.parvulescu]
{noformat}
org.apache.jackrabbit.oak.plugins.segment.SegmentDataStoreBlobGCTest
org.apache.jackrabbit.oak.plugins.segment.file.FileStoreTest
org.apache.jackrabbit.oak.plugins.segment.ExternalBlobTest
org.apache.jackrabbit.oak.plugins.segment.CompactionAndCleanupTest
{noformat}
- add the Fixture concept to the tests (if not already there)
- move them as IT (ie renaming the classes as *IT)
[~egli], [~reschke], [~mreutegg]
{noformat}
org.apache.jackrabbit.oak.plugins.document.VersionGarbageCollectorTest
org.apache.jackrabbit.oak.plugins.document.BasicDocumentStoreTest
{noformat}
- add the Fixture concept to the tests (if not already there)
- move them as IT (ie renaming the classes as *IT)
[~tmueller]
{noformat}
110.822 sec org.apache.jackrabbit.oak.jcr.query.QueryJcrTest
35.234 sec org.apache.jackrabbit.oak.jcr.query.QueryJcrTest
16.343 sec org.apache.jackrabbit.oak.jcr.query.QueryTest
{noformat}
- does it make sense to move them as ITs?
- if so will move them and see later on about what we can do to
actually speed-up the execution.
> speeding up the build time
> --------------------------
>
> Key: OAK-3251
> URL: https://issues.apache.org/jira/browse/OAK-3251
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Reporter: Davide Giannella
> Assignee: Davide Giannella
> Attachments: oak-build-for-unittests-times.log, oak-build-times.log
>
>
> Running the build with a {mvn clean install} takes a considerable amount of
> time: 15 minutes on my local.
> The top 10 slowest unit test are the following
> {noformat}
> 110.822 sec org.apache.jackrabbit.oak.jcr.query.QueryJcrTest
> 54.012 sec
> org.apache.jackrabbit.oak.plugins.segment.SegmentDataStoreBlobGCTest
> 36.593 sec
> org.apache.jackrabbit.oak.plugins.document.VersionGarbageCollectorTest
> 35.234 sec org.apache.jackrabbit.oak.jcr.query.QueryJcrTest
> 25.047 sec org.apache.jackrabbit.oak.plugins.segment.file.FileStoreTest
> 24.787 sec org.apache.jackrabbit.oak.plugins.document.BasicDocumentStoreTest
> 17.477 sec org.apache.jackrabbit.oak.plugins.segment.ExternalBlobTest
> 16.343 sec org.apache.jackrabbit.oak.jcr.query.QueryTest
> 14.519 sec org.apache.jackrabbit.oak.plugins.segment.CompactionAndCleanupTest
> 11.604 sec org.apache.jackrabbit.oak.run.osgi.LuceneSupportTest
> {noformat}
> Is there anything we could do to speed-up these?
> sorted times obtained with
> https://gist.github.com/davidegiannella/b1d3cbe51d1f70314500
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)