-
Notifications
You must be signed in to change notification settings - Fork 594
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
Structify the Framing.Impl methods #962
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really like the changes in this PR :) It simplifies a lot of code.
projects/Benchmarks/WireFormatting/WireFormatting_Read_BasicAck.cs
Outdated
Show resolved
Hide resolved
projects/Benchmarks/WireFormatting/WireFormatting_Read_BasicDeliver.cs
Outdated
Show resolved
Hide resolved
projects/Benchmarks/WireFormatting/WireFormatting_Read_ChannelClose.cs
Outdated
Show resolved
Hide resolved
Thanks for your review! |
My plan would be to merge this one before the first 8.0 PRs, as this might be also relevant for backporting to 6.x which will be simpler before 8.0 PR hitting master. I'll update the code in the next days and trying to get this in a mergable state. |
035d735
to
9fe6d1c
Compare
Done, rebased to master and fixed all failing tests. |
3c6d9ef
to
c894404
Compare
Will try to review this soon. A bit busy with a newborn a.t.m :) |
congrats =) |
rebased to master. this is ready for review |
f97ed2c
to
8395f48
Compare
Updated with latest master and ran new benchmarks & updated initial post. |
@stebet @michaelklishin Can we get this reviewed? Otherwise this is going to end up in another conflicting state with master due to the next PR (like #1024). |
431fa3e
to
3e19157
Compare
Rebased again against master and resolved all conflicts. Would you mind taking a look so we finally can get this done? @stebet @michaelklishin |
Will do |
rebased to master again. ready for final reviews |
ping |
@michaelklishin Can we finish this PR please? |
🚨 Anything I can help to get this done? 🚨 PS: What is the plan for 7.0? |
After the latest reviews I'm all good for my part :) |
Who could I ping to get this done? :) feeling a bit left out here |
@bollhals sorry, there were significant changes on our team in the last few months (mostly positive) and .NET client has slipped under the radar. Nearly all focus is on shipping RabbitMQ 3.9 and a commercial product based on it. |
Proposed Changes
The main focus of this change was to change all classes of Framing.Impl to be structs.
Types of Changes
Checklist
CONTRIBUTING.md
documentFurther Comments
Allocation before (Master)
Allocations now
Side effect is a reduction of the dll size of 11KB
Performance is hard to measure, the test app we otherwise use won't show a meaningful difference, so I used to benchmarks provided by @JanEggers:
2nd Line is always this PR
New Connection with 10000 messages
Existing Connection but with 1000 messages