Measure a pane's frames as the window draws them, part by part

BenchmarkFrame measured a pane drawn with Gio alone, which the window no longer does. It now draws the pane as the window does, as a layer, composited, after each kind of change (none, one row, a scrolled region, every row), at a quarter of a 1080p screen, all of it, and all of a large laptop's. It reports the parts of a frame: the layout on the CPU, handing the layer to Gio and the compositor, uploads included, and waiting for the GPU. On an Intel N100, every row of a 1080p pane drawn again took 17.5ms: 6.7ms painting rows on the CPU, 4.9ms uploading them and 5.9ms of the GPU drawing them. No one part is most of it, which is what drawing the cells on the GPU removes all three of.


Author Daniel Patterson Date Commit Parent b9be805f Change ID
+75 -29
1 changed file
+75 -29
1 changed file