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

perf: Performance optmization for Purchase Invoice submission #40263

Merged
merged 14 commits into from
Mar 13, 2024

Conversation

nabinhait
Copy link
Member

@nabinhait nabinhait commented Mar 4, 2024

Performance optimization for Purchase Invoice submission and cancellation

This PR mainly tries to optimize the Purchase Invoice where there are a large number of service items in the invoice and provisional accounting is enabled.

Reported Usecase:
Number of service items in Purchase Invoice: 2750
Submit Time: ~10 mins
Cancel Time: > 20 mins (cancelled the job)

After Optimization:
Submit Time: ~2 mins
Cancel Time: ~30 secs

@github-actions github-actions bot added accounts needs-tests This PR needs automated unit-tests. labels Mar 4, 2024
@nabinhait nabinhait merged commit fa55cc6 into frappe:version-14-hotfix Mar 13, 2024
11 checks passed
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 14.65.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

nabinhait added a commit to nabinhait/erpnext that referenced this pull request Mar 14, 2024
perf: Performance optmization for Purchase Invoice submission
nabinhait added a commit to nabinhait/erpnext that referenced this pull request Mar 14, 2024
perf: Performance optmization for Purchase Invoice submission
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants