adobe / commerce-cif-connector

AEM Commerce connector for Magento and GraphQL
Apache License 2.0
43 stars 27 forks source link

CIF-1287 - Filling the category cache is slow #114

Closed LSantha closed 4 years ago

LSantha commented 4 years ago

Related Issue

CIF-1287

Motivation and Context

To achieve better performance and scalability for XXL catalogs.

How Has This Been Tested?

Manually testing + JUnit.

Types of changes

Checklist:

codecov[bot] commented 4 years ago

Codecov Report

Merging #114 into master will increase coverage by 0.38%. The diff coverage is 91.56%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #114      +/-   ##
============================================
+ Coverage     87.65%   88.04%   +0.38%     
+ Complexity      460      448      -12     
============================================
  Files            34       34              
  Lines          1823     1782      -41     
  Branches        277      274       -3     
============================================
- Hits           1598     1569      -29     
+ Misses           99       88      -11     
+ Partials        126      125       -1     
Flag Coverage Δ Complexity Δ
#integration 51.68% <68.67%> (+1.80%) 249.00 <15.00> (ø)
#karma 96.02% <ø> (+3.31%) 0.00 <ø> (ø)
#unittests 83.93% <87.95%> (+0.02%) 432.00 <19.00> (-12.00) :arrow_up:
Impacted Files Coverage Δ Complexity Δ
...mmerce/graphql/magento/GraphqlDataServiceImpl.java 92.73% <89.28%> (-1.75%) 64.00 <16.00> (+6.00) :arrow_down:
...e/cq/commerce/graphql/resource/ResourceMapper.java 74.07% <93.33%> (-5.19%) 22.00 <1.00> (-18.00)
...be/cq/commerce/graphql/magento/GraphqlQueries.java 98.03% <100.00%> (+0.03%) 18.00 <1.00> (ø)
...cq/commerce/graphql/resource/CategoryResource.java 92.85% <100.00%> (+1.19%) 9.00 <0.00> (-1.00) :arrow_up:
...erce/graphql/resource/GraphqlResourceProvider.java 88.23% <100.00%> (ø) 12.00 <1.00> (ø)
...aphql/resource/GraphqlResourceProviderFactory.java 97.95% <100.00%> (ø) 12.00 <0.00> (ø)
...mnisearch/ProductsSuggestionOmniSearchHandler.java 89.88% <0.00%> (+1.12%) 14.00% <0.00%> (+1.00%)
...omponents/common/cifpicker/clientlibs/cifpicker.js 91.11% <0.00%> (+11.11%) 0.00% <0.00%> (ø%)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 27d46e9...1451f5b. Read the comment docs.