14-04-2021, 02:53 PM
Thank you again, this is great advice. I adjusted our parameters and the simulation definitely runs faster now and converges much quicker.
I did in fact read through a lot of the documentation, but I guess I underestimated the performance impact of parallel evaluation. The tip about increasing substeps instead of iteration is something I must have missed completely.
In general I think it's a bit weird for these nuggets about performance optimization to be hiding throughout the docs. Maybe it would be better to consolidate them into a dedicated page, especially seeing how often performance is mentioned on this forum.
One last thing:
The ConstriantBatcher.BatchContactsJob is marked with the [BurstCompile] attribute, however it's not actually being Burst compiled?
Profiled on an Android device.
I did in fact read through a lot of the documentation, but I guess I underestimated the performance impact of parallel evaluation. The tip about increasing substeps instead of iteration is something I must have missed completely.
In general I think it's a bit weird for these nuggets about performance optimization to be hiding throughout the docs. Maybe it would be better to consolidate them into a dedicated page, especially seeing how often performance is mentioned on this forum.
One last thing:
The ConstriantBatcher.BatchContactsJob is marked with the [BurstCompile] attribute, however it's not actually being Burst compiled?
Profiled on an Android device.