Skip to content

[2201.12.x]Reduce memory usage of holding BIR and source files #44188

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

Open
wants to merge 9 commits into
base: 2201.12.x
Choose a base branch
from

Conversation

heshanpadmasiri
Copy link
Member

Purpose

Port #44185 to 12.x

Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

  • Read the Contributing Guide
  • Updated Change Log
  • Checked Tooling Support (#)
  • Added necessary tests
    • Unit Tests
    • Spec Conformance Tests
    • Integration Tests
    • Ballerina By Example Tests
  • Increased Test Coverage
  • Added necessary documentation
    • API documentation
    • Module documentation in Module.md files
    • Ballerina By Examples

@heshanpadmasiri heshanpadmasiri marked this pull request as ready for review June 27, 2025 01:55
@heshanpadmasiri heshanpadmasiri force-pushed the memo-optim-12x branch 2 times, most recently from beb82f4 to bf93cdb Compare June 27, 2025 03:50
@heshanpadmasiri heshanpadmasiri changed the title Reduce memory usage of holding BIR and source files [2201.12.x]Reduce memory usage of holding BIR and source files Jun 27, 2025
Copy link

codecov bot commented Jun 28, 2025

Codecov Report

Attention: Patch coverage is 80.71749% with 43 lines in your changes missing coverage. Please review.

Project coverage is 77.27%. Comparing base (08a9351) to head (ca0fe90).
Report is 1 commits behind head on 2201.12.x.

Files with missing lines Patch % Lines
...a/io/ballerina/projects/internal/ProjectFiles.java 50.00% 11 Missing and 1 partial ⚠️
...er/packaging/converters/FileSystemSourceInput.java 0.00% 9 Missing ⚠️
...wso2/ballerinalang/programfile/BIRPackageFile.java 55.55% 8 Missing ⚠️
...java/io/ballerina/projects/internal/BalaFiles.java 54.54% 5 Missing ⚠️
...lang/repository/fs/GeneralFSPackageRepository.java 0.00% 5 Missing ⚠️
...a/runtime/internal/types/semtype/BListSubType.java 97.05% 1 Missing and 1 partial ⚠️
.../java/io/ballerina/projects/MdDocumentContext.java 80.00% 1 Missing ⚠️
...va/io/ballerina/tools/text/StringTextDocument.java 95.65% 1 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff               @@
##             2201.12.x   #44188      +/-   ##
===============================================
- Coverage        77.29%   77.27%   -0.02%     
- Complexity       59155    59171      +16     
===============================================
  Files             3541     3542       +1     
  Lines           222638   222727      +89     
  Branches         28870    28874       +4     
===============================================
+ Hits            172077   172121      +44     
- Misses           40835    40877      +42     
- Partials          9726     9729       +3     

☔ 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.

@gimantha gimantha added this to the 2201.12..8 milestone Jun 30, 2025
@heshanpadmasiri heshanpadmasiri force-pushed the memo-optim-12x branch 3 times, most recently from 432f5e9 to 77dd797 Compare July 14, 2025 07:50
@heshanpadmasiri heshanpadmasiri force-pushed the memo-optim-12x branch 2 times, most recently from 0713db7 to 27ed3b5 Compare July 15, 2025 02:22
@heshanpadmasiri heshanpadmasiri force-pushed the memo-optim-12x branch 2 times, most recently from 2d91023 to 7a9bd74 Compare July 15, 2025 02:32
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.

2 participants