Skip to content

Instantly share code, notes, and snippets.

@zsy715
Last active January 8, 2020 16:12
Show Gist options
  • Save zsy715/5d10cb4430a415cc41c72e80d354db6e to your computer and use it in GitHub Desktop.
Save zsy715/5d10cb4430a415cc41c72e80d354db6e to your computer and use it in GitHub Desktop.

The result of my investigation:

  • the update/create method in the backend is pretty straight forward. Since a product is associated with multiple attributes, every time in order to create/update product, all the attributes need to be created/updated which take some reasonable time(4s-5s). I think the issue is after update the product, page would be redirected to /pim/products page. This is the page where we could do some optimization. In my dev, to load this page would cause 6s
  • another thing could be improved is edit/new product page loading time. Currently, without eager loading attributes, the page takes 7.5+s to load. With some eager load tweaks, the time could drop to 4.5s. The page load could be cut off 3s.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment