Skip to content

feat: add formula shared index #2118

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

Merged
merged 5 commits into from
Apr 26, 2025
Merged

Conversation

shcabin
Copy link
Contributor

@shcabin shcabin commented Apr 24, 2025

PR Details

build Shared formula index, optimize performance of GetCellFormula
Related issues: https://github.com/qax-os/excelize/issues/1961

Description

Related Issue

#1961
On my pc, the test mentioned in the issue has been reduced from 27 seconds to 4 seconds

#2030
As discussed in #2030 , the deepcopy will use gitHub/mahae/deepcopy

Motivation and Context

How Has This Been Tested

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Copy link

codecov bot commented Apr 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.23%. Comparing base (0f19d7f) to head (37ede51).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2118   +/-   ##
=======================================
  Coverage   99.23%   99.23%           
=======================================
  Files          32       32           
  Lines       30176    30205   +29     
=======================================
+ Hits        29945    29974   +29     
  Misses        153      153           
  Partials       78       78           
Flag Coverage Δ
unittests 99.23% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@xuri xuri added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 25, 2025
xuri added 2 commits April 26, 2025 14:12
- Rename formulaSharedIndex to formulaSI
- Remove deepcopy dependencies
- Upgrade go-deepcopy to v1.5.2
- Update unit tests
@xuri xuri force-pushed the feat/cache_formula_si branch from 2bed4a4 to c85ade6 Compare April 26, 2025 06:33
Copy link
Member

@xuri xuri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your pull request. I've update pull request, fixed code review issues.

@xuri xuri merged commit b9f2c9e into qax-os:master Apr 26, 2025
17 checks passed
@xuri xuri added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Apr 26, 2025
@xuri xuri moved this to Bugfix in Excelize v2.9.1 Apr 26, 2025
@xuri xuri moved this from Bugfix to Performance in Excelize v2.9.1 Apr 27, 2025
@shcabin shcabin deleted the feat/cache_formula_si branch May 4, 2025 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
No open projects
Status: Performance
Development

Successfully merging this pull request may close these issues.

3 participants