Files
Ramon Roche e2fb765827 perf(cdrstream): drop comment text from the RIHS01 hash IDL
Since Zenoh is part of px4_sitl_default (#29425), every SITL variant
generates the RIHS01 type hashes. That step takes 23 s of a local build
and 36 to 134 s per target in CI, nearly all of it rosidl_parser reading
the IDL of every message. About 60% of that text is message comments,
and a type hash only covers the type name and the names and types of
its fields.

Write the IDL that idl2rihs01.py reads without the comment text. Units
and constants stay. The IDL that idlc compiles is a separate file and
does not change, and neither do the hashes of the 271 messages or the
generated Zenoh pub/sub factory. The hash step drops from 22.6 s to
7.8 s on an M3 Max.

convert_msg_to_idl is no longer called, so the filter for the
Reading/Writing lines it printed goes too.

Assisted-by: Claude:claude-fable-5-2
Signed-off-by: Ramon Roche <mrpollo@gmail.com>
2026-11-23 17:27:28 -08:00
..