Skip to content
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

Testing: Update test fixture for performance test #43359

Merged
merged 1 commit into from
Aug 18, 2022

Conversation

gziolo
Copy link
Member

@gziolo gziolo commented Aug 18, 2022

What?

The Quote block is now using inner blocks to store content added previously as paragraphs. Let's also update the test fixture used with the performance tests to ensure they use the latest syntax for this block.

Why?

The block editor needs to update the block syntax for an old version of Quote blocks included in the Performance Tests. This might impact the final result as the editor needs to do some additional work.

How?

I opened the test content in the block editor and the transformation magically happened.

Testing Instructions

Check GitHub action with Performance Tests to see the difference: https://github.com/WordPress/gutenberg/runs/7894579368?check_suite_focus=true.

@gziolo gziolo added [Type] Performance Related to performance efforts [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. labels Aug 18, 2022
@gziolo gziolo requested a review from priethor August 18, 2022 08:22
Copy link
Contributor

@priethor priethor left a comment

Choose a reason for hiding this comment

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

The performance comparison with trunk shows very similar results with the new tests, albeit with a slight degradation in some tests compared to trunk that is to be expected after adding the inner blocks.

However, other tests (first paint, loading) perform better than trunk, but I think the differences in all tests are so small that they fit into the typical divergences between test runs.

In any case, this PR would only surface performance degradations if they already exist in the new implementation of the Quote block, so let's ship it 🚀

@gziolo gziolo merged commit 113c9b2 into trunk Aug 18, 2022
@gziolo gziolo deleted the update/e2e-perf-test-fixture branch August 18, 2022 12:53
@github-actions github-actions bot added this to the Gutenberg 14.0 milestone Aug 18, 2022
@gziolo gziolo mentioned this pull request Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. [Type] Performance Related to performance efforts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants