As the others have said, I think you'll find that Compose is more than able to handle rapidly changing data. Consider that animations are all ultimately built on the same primitives as everything else, and it runs many animations at once with 60fps just fine. Sensor data really isn't all that different in that regard, and just speaking from personal experience doing things with rapidly changing data, I'm consistently amazed at how fast everything works, even when I expected it to be slow.
In short, trust Compose to do what it does well, and don't optimize for performance until you actually notice unacceptable degradation in your particular use cases. And with sensor data, this is likely pretty easy to do simply by sampling less frequently (Flows have a lot of great tools for this if you can't control the sensor's sample rate directly)