Jonas Dreßler 04c781674c Move WindowPreviewLayout from JS to C
This layout manager is used quite often and the time we spend calling
it's allocate and get_preferred_width/heigth functions increases with
every open window.

We can save a lot of precious time during the layout cycle by moving
this layout manager from JS to C, thus avoiding the overhead of
trampolining between C and JS land.

In a measurement where the average time spent in vfunc_allocate() of the
Workspace actor was measured while opening an overview with 20 windows,
the average time spent went down from 3.1 ms to 2.3 ms.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1743>
2021-03-09 15:40:49 +00:00
..
2020-10-19 20:18:11 +02:00
2020-10-19 20:18:11 +02:00
2014-01-09 14:59:31 -05:00
2014-01-09 14:59:31 -05:00
2014-01-09 14:59:31 -05:00
2021-02-23 18:24:35 +01:00
2019-08-27 15:30:51 +03:00
2020-10-19 20:18:11 +02:00
2020-10-19 20:18:11 +02:00
2020-05-20 15:12:03 +02:00
2020-10-19 20:18:11 +02:00
2017-08-02 11:27:42 +01:00
2015-10-15 22:58:28 +02:00