[ https://issues.apache.org/jira/browse/MESOS-3827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14990130#comment-14990130 ]
Neil Conway commented on MESOS-3827: ------------------------------------ One irritant is that we can't use this technique with TestAllocator (because it is templatized, so def'n needs to be in a header), which is a fairly expensive thing to compile: just compiling the things that use it takes ~175 seconds of CPU time (versus ~1300 for the whole test suite). Not sure if there's any easy fix for this, though. > Improve compilation speed of GMock tests > ---------------------------------------- > > Key: MESOS-3827 > URL: https://issues.apache.org/jira/browse/MESOS-3827 > Project: Mesos > Issue Type: Improvement > Reporter: Neil Conway > Assignee: Neil Conway > Priority: Minor > Labels: mesosphere, tech-debt, testing > > The GMock docs suggest that moving the definition of mock classes' > constructors and destructors to a separate compilation unit can improve > compile performance: > https://code.google.com/p/googlemock/wiki/V1_7_CookBook#Making_the_Compilation_Faster -- This message was sent by Atlassian JIRA (v6.3.4#6332)