Skip to content

Stress test of having many matchMedia instances. #46391

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

Conversation

mstyura
Copy link
Contributor

@mstyura mstyura commented Jun 5, 2025

@Ahmad-S792 Ahmad-S792 added the Tools / Tests Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases label Jun 5, 2025
@mstyura
Copy link
Contributor Author

mstyura commented Jun 11, 2025

Hello @Ahmad-S792, could you please help with assigning the appropriate reviewers, because the PR currently seems stuck. Thanks a lot in advance!

@Ahmad-S792 Ahmad-S792 requested review from smfr, anttijk and mdubet June 11, 2025 14:26
Copy link
Member

@darinadler darinadler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should land this and get it into the tree. We can make the test even better but I don't see an argument for waiting further for review before committing this first version.

@darinadler darinadler added the merge-queue Applied to send a pull request to merge-queue label Jun 28, 2025
https://bugs.webkit.org/show_bug.cgi?id=293538.

Reviewed by Darin Adler.

The test added demonstrates the overhead of
current implementation of MediaQueryEvaluator::evaluate
which is called during Page::updateRendering().

* PerformanceTests/CSS/ManyMatchMediaInstances.html: Added.

Canonical link: https://commits.webkit.org/296773@main
@webkit-commit-queue webkit-commit-queue force-pushed the perf/ManyMatchMediaInstances branch from 0b7ee13 to 0af29d2 Compare June 28, 2025 20:29
@webkit-commit-queue
Copy link
Collaborator

Committed 296773@main (0af29d2): https://commits.webkit.org/296773@main

Reviewed commits have been landed. Closing PR #46391 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 0af29d2 into WebKit:main Jun 28, 2025
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Jun 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tools / Tests Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants