Skip to content

Instantly share code, notes, and snippets.

View chapulina's full-sized avatar
💭
🔧 🤖

Louise Poubel chapulina

💭
🔧 🤖
View GitHub Profile
@mjcarroll
mjcarroll / templight.md
Created January 27, 2022 17:22
Notes on Using Templight to Debug ros_ign_bridge

Motivation: ros_ign_bridge is failing to build in the ROS 2 packaging farm because the memory usage of template instantiation is too high. Specifically, the ros_subscriber is problematic.

Approach: Use templight to debug how much cpu/memory template expansion is taking

Installation of templight

Templight itself is hosted on github: https://github.com/mikael-s-persson/templight The issue is that it may not exactly line up with clang/llvm versions, and their patching seems to be hit or miss.

Install metashell