Skip to content

Add a basic performance benchmark test for DevTools. #6881

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
Dec 7, 2023

Conversation

kenzieschmoll
Copy link
Member

@kenzieschmoll kenzieschmoll commented Dec 1, 2023

This benchmark yields measurements like:

  "devtools_navigateThroughOfflineScreens": [
    {
      "metric": "preroll_frame.average",
      "value": 63.88095238095238
    },
    {
      "metric": "preroll_frame.outlierAverage",
      "value": 204.71428571428572
    },
    {
      "metric": "preroll_frame.outlierRatio",
      "value": 3.204621692135669
    },
    {
      "metric": "preroll_frame.noise",
      "value": 0.7518520780580912
    },
    {
      "metric": "apply_frame.average",
      "value": 113.95094339622642
    },
    {
      "metric": "apply_frame.outlierAverage",
      "value": 787.375
    },
    {
      "metric": "apply_frame.outlierRatio",
      "value": 6.909771666059542
    },
    {
      "metric": "apply_frame.noise",
      "value": 0.5800946479746519
    },
    {
      "metric": "drawFrameDuration.average",
      "value": 2140.381679389313
    },
    {
      "metric": "drawFrameDuration.outlierAverage",
      "value": 24381.727272727272
    },
    {
      "metric": "drawFrameDuration.outlierRatio",
      "value": 11.391298807829354
    },
    {
      "metric": "drawFrameDuration.noise",
      "value": 0.3521587258527538
    },
    {
      "metric": "totalUiFrame.average",
      "value": 4958
    }
  ],

Work towards #6552

fixes

remove import

Add a basic performance benchmark test for DevTools.
@kenzieschmoll kenzieschmoll marked this pull request as ready for review December 6, 2023 19:24
@kenzieschmoll kenzieschmoll requested a review from a team as a code owner December 6, 2023 19:24
@kenzieschmoll kenzieschmoll requested review from CoderDake and removed request for a team December 6, 2023 19:24
@kenzieschmoll kenzieschmoll merged commit 90ee5cf into flutter:master Dec 7, 2023
@kenzieschmoll kenzieschmoll deleted the dt-benchmark-test branch December 7, 2023 03:51
derekxu16 pushed a commit to derekxu16/devtools that referenced this pull request Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants