Hi,
We use execute_calculator_code() extensively for both reading and writing but our queries are always simple (read or write single variable), read requests go through gauge_calculator_code_precompile() first and cached, write requests are a new string every time.
Problem is, it gets slower over time to the point that after 2-3 hours MSFS slows to the grind with 30-40ms extra MainThread time compared to a fresh start.
The same WASM modules worked fine some time ago - we started getting these reports only recently (after the last update, from the looks of it). It's worth noting that we already had this issue some time ago but it got fixed with MSFS update during one of the larger perf fix updates, so this one looks like a regression.
Yours,
Alex