Skip to content
Snippets Groups Projects
Commit 390af609 authored by bob5972's avatar bob5972 Committed by Olivier Fourdan
Browse files

compositor: use g_slice allocator for compositor windows

On my system, 2-4% of the CPU time in xfwm4 is being spend in
find_cwindow_in_screeni() pulling in entries from the linked list on
a lightly updating desktop.

After this change, 25-50% of that CPU is gone, presumably because the
slice allocators have better locality of the list-entries.

Closes: #416
parent e6a32cf7
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment