playwright icon indicating copy to clipboard operation
playwright copied to clipboard

[Feature]: allow tracking of skipped/dropped frames, like Chrome's perf recorder does

Open hamirmahal opened this issue 1 year ago • 1 comments

🚀 Feature Request

It'd be nice if playwright could programmatically track dropped frames with and without changes from a commit.

Chrome's performance recorder can do this, but developers have to run it manually.

Example

name: playwright
on: [push]
jobs:
  performance-testing:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      # Gets the change in dropped frames between the current branch and the main branch
      # (doesn't exist, at the time of this writing)
      - uses: playwright/check-dropped-frames@v1
        with:
          # Post the results as a comment on the commit.
          post-comment: true

Sample Output

Ideally this shows up in CI job output that uses playwright, and there's an option to post the this result as a comment on each commit.

Saw a 10% increase in dropped frames with this branch

Motivation

This feature would save developers time by automatically showing performance changes from a change without having to run Chrome's performance recorder manually.

hamirmahal avatar Oct 13 '24 18:10 hamirmahal

This is the feature it'd be nice if playwright could automate.

Image

hamirmahal avatar Oct 13 '24 18:10 hamirmahal

Why was this issue closed?

Thank you for your involvement. This issue was closed due to limited engagement (upvotes/activity), lack of recent activity, and insufficient actionability. To maintain a manageable database, we prioritize issues based on these factors.

If you disagree with this closure, please open a new issue and reference this one. More support or clarity on its necessity may prompt a review. Your understanding and cooperation are appreciated.

pavelfeldman avatar Sep 04 '25 01:09 pavelfeldman