Improving performance of large number of animated entities by hiding some

I have a large number of animated entities (paths). They become invisible once the animation ends. I noticed that setting show to false greatly improves performance. Is there a way to set show to false (before and after the animation) based on Cesium Clock's time? Any other way to improve performance?