-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
Refactor #560
Draft
matheusd
wants to merge
19
commits into
capnproto:main
Choose a base branch
from
matheusd:refactor
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Refactor #560
Commits on Mar 5, 2024
-
bufferpool: Switch to zeropool
This commit switches the bufferpool to use the zeropool implementation for sync pools. The stdlib sync.Pool implementation has an issue where it causes an additional heap allocation per Put() call when used with byte slices. github.com/colega/zeropool package has been specifically designed to work around this issue, which reduces GC pressure and improves performance. This also fixes the bufferpool's pkg benchmark to use a new pool per test, to avoid other tests influencing the behavior of the benchmark and sets it to report the allocations.
Configuration menu - View commit details
-
Copy full SHA for d2c5fcb - Browse repository at this point
Copy the full SHA d2c5fcbView commit details
Commits on Mar 14, 2024
-
message: Fix reuse of first segment
This fixes the Message's Reset() call to allow reuse of the first segment. Prior to this fix, the first segment was discarded after the first Reset call, effectively causing a new segment to be initialized on every Reset call. By reusing the first segment, the number of heap allocations is reduced and therefore performance is increased in use cases where the message object is reused. The fix involved associtating the segment to the message and fixing checks to ensure the data of the segment is re-allocated after the reset. A benchmark is included to show the current performance of this.
Configuration menu - View commit details
-
Copy full SHA for 0e572ae - Browse repository at this point
Copy the full SHA 0e572aeView commit details
Commits on Mar 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 64f1015 - Browse repository at this point
Copy the full SHA 64f1015View commit details -
test: Demonstrate test is broken
This shows that the BenchmarkUnmarshal_Reuse is broken.
Configuration menu - View commit details
-
Copy full SHA for 29d5cb9 - Browse repository at this point
Copy the full SHA 29d5cb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bbbafc - Browse repository at this point
Copy the full SHA 4bbbafcView commit details
Commits on Apr 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 95a6fbc - Browse repository at this point
Copy the full SHA 95a6fbcView commit details
Commits on Apr 26, 2024
-
The prior version isn't commented and it's hard to reason about.
Configuration menu - View commit details
-
Copy full SHA for 4d53867 - Browse repository at this point
Copy the full SHA 4d53867View commit details -
This makes the captable release more efficient, avoid unnecessary allocations.
Configuration menu - View commit details
-
Copy full SHA for 336313b - Browse repository at this point
Copy the full SHA 336313bView commit details -
Reset message in a cleaner way
This avoids some duffcopy calls and improves perf.
Configuration menu - View commit details
-
Copy full SHA for 2af3b97 - Browse repository at this point
Copy the full SHA 2af3b97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f83283 - Browse repository at this point
Copy the full SHA 9f83283View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1651df3 - Browse repository at this point
Copy the full SHA 1651df3View commit details
Commits on May 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c93652f - Browse repository at this point
Copy the full SHA c93652fView commit details
Commits on May 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bde3071 - Browse repository at this point
Copy the full SHA bde3071View commit details
Commits on May 6, 2024
-
The TextField is a reference to a specific text field inside a struct. It records both the pointer and value locations inside a struct, which may be used to fetch or update the underlying value.
Configuration menu - View commit details
-
Copy full SHA for e7d8d6f - Browse repository at this point
Copy the full SHA e7d8d6fView commit details
Commits on May 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 082a6b9 - Browse repository at this point
Copy the full SHA 082a6b9View commit details
Commits on Jun 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7c36466 - Browse repository at this point
Copy the full SHA 7c36466View commit details
Commits on Jun 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b1c4a4e - Browse repository at this point
Copy the full SHA b1c4a4eView commit details
Commits on Jun 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d8b39cc - Browse repository at this point
Copy the full SHA d8b39ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89a28b6 - Browse repository at this point
Copy the full SHA 89a28b6View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.