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

Bulk attributes save #4167

Merged
merged 16 commits into from
Oct 9, 2023
Merged

Bulk attributes save #4167

merged 16 commits into from
Oct 9, 2023

Conversation

specialunderwear
Copy link
Member

@specialunderwear specialunderwear commented Sep 11, 2023

The majority of time spent saving oscar products, is in the attributes.
By saving the attributes in bulk, a lot of this overhead can be reduced, which will make everything feel a lot faster.

@codecov
Copy link

codecov bot commented Sep 11, 2023

Codecov Report

Merging #4167 (6323ac2) into master (c78c3f0) will increase coverage by 0.15%.
Report is 1 commits behind head on master.
The diff coverage is 97.35%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4167      +/-   ##
==========================================
+ Coverage   87.61%   87.76%   +0.15%     
==========================================
  Files         290      290              
  Lines       15946    16047     +101     
==========================================
+ Hits        13971    14084     +113     
+ Misses       1975     1963      -12     
Files Coverage Δ
src/oscar/apps/catalogue/managers.py 100.00% <ø> (ø)
src/oscar/apps/catalogue/product_attributes.py 97.97% <100.00%> (+7.69%) ⬆️
src/oscar/apps/customer/history.py 87.17% <ø> (ø)
src/oscar/apps/catalogue/abstract_models.py 93.30% <93.10%> (+1.42%) ⬆️

@joeyjurjens joeyjurjens merged commit 858962d into master Oct 9, 2023
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants