Skip to content

Commit

Permalink
quinn-proto: add over-allocation metric (fix #981)
Browse files Browse the repository at this point in the history
Add an over_allocation field to Buffer and Assembler to keep track of
wasted memory per Buffer and per Assembler.
Add an allocation_size parameter to Assembler::insert to estimate wasted
memory per Buffer.
Trigger defragmentation when over-allocation reaches 32k.
  • Loading branch information
geieredgar committed Jan 28, 2021
1 parent 8645050 commit 9a14853
Show file tree
Hide file tree
Showing 4 changed files with 158 additions and 116 deletions.
Loading

0 comments on commit 9a14853

Please sign in to comment.