Skip to content

feat: adjust memory pool chunk size adaptively#65

Merged
liuq19 merged 2 commits into
bytedance:masterfrom
xiegx94:feat/adaptive-allocator
May 18, 2023
Merged

feat: adjust memory pool chunk size adaptively#65
liuq19 merged 2 commits into
bytedance:masterfrom
xiegx94:feat/adaptive-allocator

Conversation

@xiegx94
Copy link
Copy Markdown
Collaborator

@xiegx94 xiegx94 commented Apr 27, 2023

Increase memory pool chunk size from minimum capacity to maximum adaptively.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 27, 2023

Codecov Report

Merging #65 (c71add0) into master (50514ec) will decrease coverage by 0.11%.
The diff coverage is 80.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##           master      #65      +/-   ##
==========================================
- Coverage   95.88%   95.78%   -0.11%     
==========================================
  Files          21       21              
  Lines        2431     2444      +13     
==========================================
+ Hits         2331     2341      +10     
- Misses        100      103       +3     
Impacted Files Coverage Δ
include/sonic/allocator.h 89.06% <80.00%> (-1.38%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@liuq19
Copy link
Copy Markdown
Collaborator

liuq19 commented May 5, 2023

补充readme,有时间可以添加性能对比测试

Comment thread include/sonic/allocator.h Outdated
Comment thread include/sonic/allocator.h Outdated
@xiegx94 xiegx94 force-pushed the feat/adaptive-allocator branch from 7a11200 to 8b13377 Compare May 16, 2023 02:29
liuq19
liuq19 previously approved these changes May 16, 2023
Copy link
Copy Markdown
Collaborator

@liuq19 liuq19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread include/sonic/allocator.h
@liuq19 liuq19 merged commit dcebb0a into bytedance:master May 18, 2023
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.

3 participants