Skip to content

POC: Improve JDBC driver performance using ByteBufferManager for TDS packet handling #2671

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

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Ananya2
Copy link
Contributor

@Ananya2 Ananya2 commented Jun 4, 2025

This POC introduces a ByteBufferManager and BufferPool implementation in the JDBC driver to optimize memory usage during TDS packet processing.

@Ananya2 Ananya2 marked this pull request as draft June 4, 2025 08:09
@Ananya2 Ananya2 self-assigned this Jun 4, 2025
Copy link

codecov bot commented Jun 18, 2025

Codecov Report

Attention: Patch coverage is 86.84211% with 5 lines in your changes missing coverage. Please review.

Project coverage is 51.87%. Comparing base (52303d8) to head (30dd55e).
Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
...om/microsoft/sqlserver/jdbc/ByteBufferManager.java 78.94% 1 Missing and 3 partials ⚠️
.../java/com/microsoft/sqlserver/jdbc/BufferPool.java 90.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2671      +/-   ##
============================================
+ Coverage     51.62%   51.87%   +0.24%     
- Complexity     4006     4045      +39     
============================================
  Files           147      149       +2     
  Lines         33804    33836      +32     
  Branches       5652     5654       +2     
============================================
+ Hits          17453    17553     +100     
+ Misses        13888    13811      -77     
- Partials       2463     2472       +9     

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

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