CTestCoverageCollectGCOV.cmake's tar process is very slow
I recently began using CTestCoverageCollectGCOV.cmake
's ctest_coverage_collect_gcov
command. The gcov process works as expected, but the step that runs tar is extremely slow. Are there any options to run this in a different way? For my moderately size project, the tar process is taking several hours. This is prohibitively slow to use for CI. I'm running this in a local /scratch
space. The gcov.tar
file is only 220 MB.
Output from top
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
34088 kellyt 20 0 138768 9764 1896 R 100.0 0.0 139:45.90 /ccs/opt/cmake/cmake-3.17.0-Linux-x86_64/bin/cmake -E tar cfj gcov.tar --mtime=1970-01-01 0:0:0 UTC --format=gnutar --files-from=/scratch/regress/cdash/jayenne/Experimental_gcc-gcov-pr642/Coverage/build/Testing/CoverageInfo/coverage_file_list.txt
Do you have any thoughts about how to track this performance issue down? Can I remove the j
option from the tar command?