I did some tests about the rendering performances ...
# compose-desktop
g
I did some tests about the rendering performances of Compose-desktop. Pretty good! https://dev.to/gz_k/jetpack-compose-desktop-rendering-performances-4992
🔥 18
K 3
t
Wow. this is really great. thanks for sharing 👍
😊 1
r
@gaetan You misunderstood my suggestion. The translation shouldn't be part of the Path. You create a single Path object and draw it multiple times. The key is to call translate() on the Canvas before each call to drawPath()
👍 1
s
I appreciate benchmark comparisons like this. I think this clearly shows that the cost of using compose is easily worth it.
g
@romainguy Ok. I’ll try that.
👀 1
@spierce7 My test is on the rendering (with Skia). We are not testing the performance of the compose mechanism.
s
Oh, Thanks for the clarification