Castanets icon indicating copy to clipboard operation
Castanets copied to clipboard

[Performance] Scroll performance issue with GPU compositing.

Open Sunwoo-Nam opened this issue 5 years ago • 4 comments

When scrolling a web page, it is lagging with GPU compositing. If GPU compositing is disabled, scrolling is smoother. We should analyze this critical issue if we continue to use GPU compositing.

I attached the test page. text_scroll.zip

Sunwoo-Nam avatar Aug 22 '19 05:08 Sunwoo-Nam

This issue seems to be related to https://github.com/Samsung/Castanets/issues/160. |OneCopyRasterBuffer::Playback| takes 1 sec or more because of the shared memory sync.

Sunwoo-Nam avatar Aug 22 '19 08:08 Sunwoo-Nam

This issue seems to be related to https://github.com/Samsung/Castanets/issues/160. |OneCopyRasterBuffer::Playback| takes 1 sec or more because of the shared memory sync.

Sunwoo-Nam avatar Aug 22 '19 08:08 Sunwoo-Nam

When playback is in progress, it tries to get the query result in |WaitForQueryResult| in staging_buffer_pool.cc But in fact, we do not handle the 'query' now, so it causes delay of the raster time by the number of attempts.

Sunwoo-Nam avatar Sep 11 '19 05:09 Sunwoo-Nam

It is temporarily improved by https://github.com/Samsung/Castanets/pull/211 .

Sunwoo-Nam avatar Sep 18 '19 00:09 Sunwoo-Nam