Skip to content

Frontend Profiling CI#12938

Draft
dawoodkhan82 wants to merge 6 commits intomainfrom
frontend-profiling
Draft

Frontend Profiling CI#12938
dawoodkhan82 wants to merge 6 commits intomainfrom
frontend-profiling

Conversation

@dawoodkhan82
Copy link
Collaborator

Description

Add frontend profiling to CI

Closes: #(issue)

AI Disclosure

We encourage the use of AI tooling in creating PRs, but the any non-trivial use of AI needs be disclosed. E.g. if you used Claude to write a first draft, you should mention that. Trivial tab-completion doesn't need to be disclosed. You should self-review all PRs, especially if they were generated with AI.

  • I used AI to... [fill here]
  • I did not use AI

🎯 PRs Should Target Issues

Before your create a PR, please check to see if there is an existing issue for this change. If not, please create an issue before you create this PR, unless the fix is very small.

Not adhering to this guideline will result in the PR being closed.

Testing and Formatting Your Code

  1. PRs will only be merged if tests pass on CI. We recommend at least running the backend tests locally, please set up your Gradio environment locally and run the backed tests: bash scripts/run_backend_tests.sh

  2. Please run these bash scripts to automatically format your code: bash scripts/format_backend.sh, and (if you made any changes to non-Python files) bash scripts/format_frontend.sh

@gradio-pr-bot
Copy link
Collaborator

gradio-pr-bot commented Feb 27, 2026

🪼 branch checks and previews

Name Status URL
Spaces ready! Spaces preview
Storybook ready! Storybook preview
🦄 Changes detected! Details

Install Gradio from this PR

pip install https://gradio-pypi-previews.s3.amazonaws.com/351f94432a47105c02fb0d9ee34762c64213d6ed/gradio-6.8.0-py3-none-any.whl

Install Gradio Python Client from this PR

pip install "gradio-client @ git+https://github.com/gradio-app/gradio@351f94432a47105c02fb0d9ee34762c64213d6ed#subdirectory=client/python"

Install Gradio JS Client from this PR

npm install https://gradio-npm-previews.s3.amazonaws.com/351f94432a47105c02fb0d9ee34762c64213d6ed/gradio-client-2.1.0.tgz

@gradio-pr-bot
Copy link
Collaborator

🦄 no changes detected

This Pull Request does not include changes to any packages.

__No changes detected. __



‼️ Changeset not approved. Ensure the version bump is appropriate for all packages before approving.

  • Maintainers can approve the changeset by checking this checkbox.

Something isn't right?

  • Maintainers can change the version label to modify the version bump.
  • If the bot has failed to detect any changes, or if this pull request needs to update multiple packages to different versions or requires a more comprehensive changelog entry, maintainers can create the changelog file directly.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 27, 2026

Frontend Performance Benchmark

Metric Base PR Change Status
DOM Content Loaded 168 ms 285 ms +69.6% ❌ FAIL
Page Load 214 ms 332 ms +55.1% ❌ FAIL
LCP 556 ms 692 ms +24.5%
JS Size 163 KB 163 KB 0.0%
CSS Size 19 KB 19 KB 0.0%

| JS Resources | 66 | 66 | | |
| CSS Resources | 20 | 20 | | |

Base: merge-base of main | Thresholds: timing warns at +25%, fails at +50%. Transfer size warns at +10%, fails at +25%.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants