Why is Android Mode for Processing 4 so laggy compared to Android Mode for Processing 3?

I noticed that the code written for the new version lags significantly more, regardless of the render type.

What causes this behavior?

To reproduce this situation, it is enough to set the line thickness to 2 and try to draw at least 200 lines on the screen simultaneously using the rotate() method (pushMatrix(), translate(), popMatrix()).

Another example


// In draw()

background(232);

pushMatrix();

translate(width / 2, height / 2);

for (float i = 0; i < TWO_PI; i += TWO_PI / 200) {

rotate(i + (frameCount * .00001f));

line(0, 0, width / 2, height / 2);

}

popMatrix();

println((int) frameRate);