magento / magento/community-features
Performance Toolkit Enhancements
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 46
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Originally a fix for this item, was asked to move it to this repo. https://github.com/magento/magento2/issues/21491
The performance toolkit will insert static data into the DB, however it's missed some critical items such as Invoices. When an invoice is created the order status will change to "Processing". Only after an order is set to Processing will the Life Time sales calculate on the Admin Dashboard.
If Magento had this information, they may have caught that Admin login can take upwards of 5-10 seconds just to calculate the life time sales (over 1 Million invoiced orders). Majority of admin users have a focus to perform an action (process an order, config change, flush cache, edit product, etc) and don't need the delay life time sales calculation as it's ignored. This is a separate issue to be reported.
This update to performance toolkit provides us the ability to populate this data to create the issue.
A Pull Request has already been made and requires Magento review: https://github.com/magento/magento2/pull/21492
Cheers
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the existing performance toolkit change in pull request #21492 and the originating issue #21491 first. Check how the toolkit populates order data and whether invoice data produces Processing orders and lifetime sales in the Admin Dashboard; done means the required data is reproducible for performance testing.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend, performance
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100