- Issue created by @catch
- Merge request !9595Start taxonomy term admin list page performance test → (Open) created by marvil07
- 🇵🇪Peru marvil07
I have only added a hot/cold cases, no cool nor warm.
I'm not sure if that would apply.
Also, the listing is using
Drupal\Core\Entity\EntityListBuilder
, so it may be worth to generalize, or maybe that is more than we want to do now.Feedback is highly welcomed.
- 🇵🇪Peru marvil07
I think this is now ready to be reviewed again.
It has been a nice experience to get to know a bit more how performance tests are structured.I have changed the setup phase to remove a views block at the start, that shows taxonmy terms on every pages, to have less noise.
I have also added a general cache bin remove method, to the main related trait for these tests.
It sounds like a great candidate to have there, since many tests will use it.I also added a cool cache case, since it may also be relevant for performance tracking purposes.
I have not added a warm cache case, since I could not really think about an analogous set of steps for this case.
E.g. on node case it makes sense because there are sibling nodes, but for the term listing case there is not such a case.Commits since last update on the
3476439-term-list-performance-test
branch, and related MR !95959ad0e4e8f9 Actually look for things at the right place 😅 6bc0ea4a31 Make linter happy 709d5b6f2d Do not use the umami block with tags vocabulary terms as a block in the footer 19f8eb2d6e Unify the approach to match the term a357447a30 Add cache bins clear to PerformanceTestTrait 2aef88e121 Add a cool cache case for vocabulary admin performance test
The Needs Review Queue Bot → tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.
- 🇵🇪Peru marvil07
I'm wondering what needs-review-queue-bot is thinking :-)
I see pipelines in green: https://git.drupalcode.org/project/drupal/-/merge_requests/9595/pipelinesBack to NR.
The Needs Review Queue Bot → tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.
- 🇮🇳India vinai_katiyar Delhi NCR
vinai_katiyar → changed the visibility of the branch 3476439-term-list-performance-test to hidden.
- 🇮🇳India shalini_jha
shalini_jha → changed the visibility of the branch 3476439-term-list-performance-test to active.
- 🇮🇳India shalini_jha
I've rebase the MR to address the pipeline failure,so pipeline is fixed now. and as noted in #6, the changes are now ready for review. Moving this to 'Needs Review.
- 🇺🇸United States smustgrave
Saving credit for marvil07 and pfrenssen for getting MR 99% there minus the void return.
Cleaned up the issue summary just slightly
The numbers in the test make sense I believe, but pipeline is good so believe this one to be good.
- Status changed to Needs work
about 2 months ago 4:18am 6 December 2024 - 🇳🇿New Zealand quietone
This test added here failed locally so I restarted the test on gitlab and it failed there as well. https://git.drupalcode.org/issue/drupal-3476439/-/jobs/3610653
- 🇮🇳India shalini_jha
I re-ran the failed job, and it passed. It seems to be a random test failure. I am verifying this locally to confirm.
- 🇮🇳India shalini_jha
I have run this locally and this failing same as mentioned #17, i am working on it.
- 🇮🇳India shalini_jha
I’ve updated the test to expect a cache get count of 115 instead of 116. After debugging, I found that getCacheGetCount returned 115, which is different from the expected 116. Since I’m new to this type numbers count test, I’m not sure about the cause of the discrepancy, so I’ve adjusted the test based on what I observed and run the test locally and it is passed. I would appreciate any guidance on whether this change is correct, or if further adjustments are needed.
Moving this to NR, Kindly review. - 🇺🇸United States smustgrave
Believe the 115 should be fine.
Saving credit for shalini_jha for the continued work on it and debugging.
- 🇬🇧United Kingdom catch
This should use ::assertMetrics() now, see 📌 Add PerformanceTestTrait::assertMetrics() so it is easier to write performance tests Active .