Hi everybody. Updating to JUCE 8 has been very smooth and everything seems to work perfectly - except for a dramatic drop in performance on Android.
This can readily be observed on the DemoRunner. It’s immediately obvious on debug mode and makes it virtually unusable.
Release mode is also seriously affected. The GUI is less responsive and the frame rates shown on the GraphicsDemo are invariably lower on JUCE 8 than on JUCE 7. On one device, for example, line rendering is more than twice as slow on JUCE 8.
I have tested using the emulator with the same results. The greatest difference seems to be the line rendering, on my system there is a fourfold difference.
Hmm we’re seeing a massive decrease in performance of simple line rendering as well, but on macOS.
With JUCE7, drawing hundreds of lines on an M2 Pro was super smooth, but now with JUCE 8 we get 10-15 frames per second max, everything looks extremely choppy
We’re drawing a reasonably complex path consisting of lines into an Image. Tried both the native image type as well as software image type, both are equally bad compared to what we had with JUCE 7. If I just replace the line drawing by setting a pixel into the image, performance is super smooth again.
This is with the development branch. Any clue as to why there is such poor line drawing performance with JUCE8?
Edit: the image we draw lines into is a single colour image. When switching to ARGB, performance is back where it should be.
Edit2: The difference between drawing line performance into a single color image or ARGB image seems to only exist for debug builds, but not so much for release builds…