[cmake-developers] CMake is slow for project with hundred target and one command with large number of dependencies

Stephen Kelly steveire at gmail.com
Mon Jul 15 05:53:20 EDT 2013


Nicolas Desprès wrote:
>>> > I have pushed my work so far on my github clone of CMake.
>>> > https://github.com/nicolasdespres/CMake/tree/topic/large-deps-perf
>>>

Thanks. The bottleneck seems to be in

 cmTargetTraceDependencies::FollowName

as it follows each entry in the LARGE_LIST for each of the 100 targets.

>>
>> I also cleaned that up a bit.

At least ninja_convenience_targets seems to be obsolete too? I didn't check 
the others. Just looking through my 'git branch -a' output :).

Thanks,

Steve.





More information about the cmake-developers mailing list