[ 
https://issues.apache.org/jira/browse/OAK-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Davide Giannella updated OAK-3251:
----------------------------------
    Attachment: times-1443006309.log
                build-1443006309.log

Another round of build; now we're 12.

The slowest tests are the following:

{noformat}
54.562 sec 
org.apache.jackrabbit.oak.plugins.document.DocumentDiscoveryLiteServiceTest
36.416 sec org.apache.jackrabbit.oak.jcr.query.QueryJcrTest
17.436 sec org.apache.jackrabbit.oak.security.user.MembershipProviderTest
12.234 sec org.apache.jackrabbit.oak.jcr.random.RandomizedReadTest
11.703 sec org.apache.jackrabbit.oak.plugins.document.BasicDocumentStoreTest
11.685 sec org.apache.jackrabbit.oak.run.osgi.DocumentNodeStoreConfigTest
11.416 sec org.apache.jackrabbit.oak.run.osgi.LuceneSupportTest
10.854 sec org.apache.jackrabbit.oak.plugins.document.OrphanedBranchTest
10.133 sec org.apache.jackrabbit.oak.plugins.document.VersionGCWithSplitTest
10.1 sec 
org.apache.jackrabbit.oak.plugins.blob.migration.DocumentToExternalMigrationTest
{noformat}

I think if we manage to reduce: {{DocumentDiscoveryLiteServiceTest}}
and {{MembershipProviderTest}}; move {{QueryJcrTest}} as IT, we
managed to get the most out of this exercise.

[~teofili] would that be fine for you if we move {{QueryJcrTest}} of
oak-solr-core as IT?

[~egli] can you see any possible improvements in
{{DocumentDiscoveryLiteServiceTest}}?

[~anchela] do you see any possible improvements in
{{MembershipProviderTest}}?



> 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: build-1441353866-times.log, build-1441353866.log, 
> build-1441637422.log, build-1443006309.log, 
> oak-build-for-unittests-times.log, oak-build-times.log, times-1441637422.log, 
> times-1443006309.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)

Reply via email to