Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6881be5d93f56631897bf8c341bca5203ebca5e8
      
https://github.com/WebKit/WebKit/commit/6881be5d93f56631897bf8c341bca5203ebca5e8
  Author: Nikolas Zimmermann <[email protected]>
  Date:   2026-08-17 (Mon, 17 Aug 2026)

  Changed paths:
    M Tools/Scripts/webkit-sysprof/README.md
    M Tools/Scripts/webkit-sysprof/tests/test_subcommands_e2e.py
    M Tools/Scripts/webkit-sysprof/webkitsysprof/analyze/__init__.py

  Log Message:
  -----------
  webkit-sysprof analyze needs to analyze more marks, to see where a frame time 
goes
https://bugs.webkit.org/show_bug.cgi?id=321920

Reviewed by Justin Michaud.

Add the remaining marks emitted along the rendering pipeline:
RenderTreeBuild and CompositingUpdate for styling and compositing,
FinalizeRenderingUpdate and RenderLayerTree for the rendering update,
WaitForCompositionCompletion for the composition wait, and the tile marks
(RecordTile, UpdateTiles, PaintTile, UpdateTile and
SkiaBackingStoreTileUpdate).

Two of those marks carry data in their message: UpdateTiles reports how
many tiles it touched and PaintTile reports the dirty region, so extract
both as count statistics next to the durations.

The statistics tables gain mean and median columns. Both tables are now
driven by a single STATISTICS_COLUMNS list instead of spelling the
columns out once in the header and once in the row builder. The median
column uses the exact median rather than the interpolated 50th
percentile, since the two describe the same quantity.

Three of these marks are easy to misread: StyleRecalc nests other marks,
CompositingUpdate runs twice per rendering update, and PaintTile runs on
the painting threads rather than the main thread. The text report and the
README now say so.

* Tools/Scripts/webkit-sysprof/README.md:
* Tools/Scripts/webkit-sysprof/tests/test_subcommands_e2e.py:
(test_analyze_json_statistics_cover_all_relevant_marks):
* Tools/Scripts/webkit-sysprof/webkitsysprof/analyze/__init__.py:
(_dirty_region_pixels):
(_render_text_report):

Canonical link: https://commits.webkit.org/319307@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to