How can I determine how much garbage is being created by my JS code running on Coherent?

I’ve been tuning performance and I’d like to understand how much memory churn is created by my JS avionics. The coherent debugger timeline tool has some profiling capability, but I don’t see anything to indicate how much memory I’m using each frame or exactly when GC pauses are occurring.

Is there any way to see allocations or GC statistics? This would be really helpful.

2 Likes

Bump. I was able to optimize my avionics by using isolation and estimation but it would be preferable to validate the work by monitoring the GC cycles and heap usage.

The general advice to optimize is workable but direct confirmation of memory pressure would allow for much higher confidence in the quality of the avionics and their impact on the rest of the sim.

3 Likes