SITL benchmark mavlink

Hi, I don’t know if this is the right place for this question.
I have implemented some encryption algorithms in mavlink and I would like to evaluate their performance. Is it possible in SITL to benchmark the use of cpu and memory? Thank you.

Not really; you could potentially use the Linux HAL instead.

It’s not really Linux you need to worry about; it’s the stm32 side of
things that you should be worried about. If you’re running on Linux then
there’s usually plenty of opportunity to encrypt at lower layers, and
typically more CPU/memory that stm32.

Peter