Replies: 1 comment 1 reply
-
I'm as surprised as you. In principle, it should be faster to render the whole buffer at once. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to maximize fps on
esp32s3
withI8080
display interface, so I benchmarked one line rendering (render_by_line
) vs. full frame rendering (render
). In the docs I saw full frame rendering is supposed to be faster, but in my tests, the one line rendering performs much better, at least in my setup.I wonder if I'm doing something wrong or if indeed one line rendering is just more optimized.
My scenario is animation that scrolls the screen and doing full screen rendering (practically renders the entire screen every time, no case of partial screen rendering).
To use full screen I'm using
esp32s3
psram
which is slower than the internal ram, so to compare apples to apples what I did is render using both full frame render and one line rendering the entire screen topsram
(in both cases), and only then output the entire frame to the display (so no caching is involved).Actually, the comparison measurements are after removing the display code so I will compare just the rendering time.
I'm using the
RepaintBufferType::ReuseBuffer
. I also verified by counting reoprted pixels and lines that every time is a full screen redraw.In my results:
Am I doing something wrong and not gaining the performance benefits I could from the full frame rendeting?
On a side note (doesn't matter that much but just to extract actual rendering time from writing to memory) - the one line rendering mrasurement is consistent with psram performance difference
Beta Was this translation helpful? Give feedback.
All reactions