You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2014/11/11 00:00:34 UTC

[jira] [Commented] (MESOS-2059) improve performance of expensive tests

    [ https://issues.apache.org/jira/browse/MESOS-2059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14205489#comment-14205489 ] 

Benjamin Mahler commented on MESOS-2059:
----------------------------------------

Linking in MESOS-1757 (an epic for speeding up tests), where I included a few starting suggestions and was hoping to have them broken off under the epic.

> improve performance of expensive tests
> --------------------------------------
>
>                 Key: MESOS-2059
>                 URL: https://issues.apache.org/jira/browse/MESOS-2059
>             Project: Mesos
>          Issue Type: Improvement
>          Components: technical debt, test
>            Reporter: Dominic Hamon
>            Priority: Minor
>
> Many of our tests take a long time to run which has an impact on the developer compile-test cycle. Improving the performance of the worst cases can lead to a significant improvement in developer workflow.
> A quick test shows that focusing on a few key test fixtures might be worthwhile:
> {noformat}
> $ egrep '\(.* ms\)$' test.log | cut -d\  -f10- | cut -d\  -f1-2 | sed 's/(//' | sort -k2 -rn | head -n 30
> ZooKeeperMasterContenderDetectorTest.NonRetryableFrrors 15107
> ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireMasterZKSession 13473
> ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireSlaveZKSessionNewMaster 13434
> ZooKeeperMasterContenderDetectorTest.MasterContenders 10089
> ZooKeeperMasterContenderDetectorTest.MasterDetectorTimedoutSession 10081
> ZooKeeperMasterContenderDetectorTest.ContenderDetectorShutdownNetwork 8459
> ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireSlaveZKSession 8424
> ZooKeeperMasterContenderDetectorTest.MasterContender 8397
> SlaveRecoveryTest/0.MultipleFrameworks 7971
> ExamplesTest.PythonFramework 7326
> HealthCheckTest.GracePeriod 6552
> SlaveRecoveryTest/0.ReconcileKillTask 6150
> ExamplesTest.LowLevelSchedulerPthread 6113
> ExamplesTest.JavaFramework 5543
> ExamplesTest.NoExecutorFramework 5391
> ExamplesTest.TestFramework 5282
> ExamplesTest.LowLevelSchedulerLibprocess 5282
> ExamplesTest.JavaException 5177
> ZooKeeperMasterContenderDetectorTest.ContenderPendingElection 5046
> BasicMasterContenderDetectorTest.Detector 5010
> BasicMasterContenderDetectorTest.Contender 5004
> SlaveRecoveryTest/0.MultipleSlaves 4845
> SlaveRecoveryTest/0.MasterFailover 4736
> SlaveRecoveryTest/0.ShutdownSlave 4517
> SlaveRecoveryTest/0.ShutdownSlaveSIGUSR1 4482
> SlaveRecoveryTest/0.Reboot 4481
> SlaveRecoveryTest/0.KillTask 3600
> SlaveRecoveryTest/0.SchedulerFailover 3542
> SlaveRecoveryTest/0.ReconcileShutdownFramework 3534
> GroupTest.GroupJoinWithDisconnect 3384
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)