mozilla / grcov

Rust tool to collect and aggregate code coverage data for multiple source files
Mozilla Public License 2.0
1.16k stars 148 forks source link

grcov --threads parameter is not passed to sub commands #1116

Open vanhauser-thc opened 11 months ago

vanhauser-thc commented 11 months ago

Problem: grcov executes llvm-profdata and llvm-report if profdata is present, but does not pass on the number of threads to be used. Especially for profdata this slows down llvm-profdata a lot (I have a 50% speed increase from 60 minutes to 90 minutes because of that).

marco-c commented 11 months ago

Thanks for reporting, I'd gladly accept a PR for fixing this (https://github.com/mozilla/grcov/blob/master/src/llvm_tools.rs is the file to touch to fix it).