Poor ccache hit rate on debug build with coverage set using colcon

asked 2019-08-24 03:43:51 -0500

ruffsl gravatar image

For the navigation2 package on ros2, I think we're encountering some non-determinism that might be causing the miserable hit rates for our debug build, as opposed to the 100% rate we have for release builds. I'm guessing it might have to do with enabling code coverage, but not sure how. Here are some logs for comparison, with ccache logs in the artifacts tab and the statistics are shown in the CCache Stats step that comes after Build Workspace | /opt/overlay_ws:

edit retag flag offensive close merge delete

Comments

Wait, I think the docker tag for debug is still building with release mode, thus seeding a mismatched ccache out the gate. I'll check again after this merges: https://github.com/ros-planning/navig...

ruffsl gravatar imageruffsl ( 2019-08-24 04:30:24 -0500 )edit