-
Notifications
You must be signed in to change notification settings - Fork 426
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
Improve performance of readLong function unrolling loop and using bitwise operators instead of additions #763
Conversation
…wise operators instead of additions
Codecov Report
@@ Coverage Diff @@
## dev #763 +/- ##
============================================
+ Coverage 48.17% 48.41% +0.24%
- Complexity 2776 2799 +23
============================================
Files 116 116
Lines 27854 27852 -2
Branches 4636 4635 -1
============================================
+ Hits 13418 13484 +66
- Misses 12215 12232 +17
+ Partials 2221 2136 -85
Continue to review full report at Codecov.
|
…wise operators instead of additions + unit test
Hi @robertonr, thank you for your contribution to the mssql-jdbc driver. Please restrict the visibility of |
Hello, the change of visibility is done, thank you!
|
Hello, I'm using mssql-jdbc driver for long time and profiling my application for 20 minutes I found that TDSChannel.read() is taking around 548297 milliseconds of CPU (I guess it's due to synchronization). However improving readLong method I reduced around 30000 milliseconds of pure CPU usage.
Could you merge this small change, please?