-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Improvement]Add customStdAllocator for vector/map #41193
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
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
run buildall |
be/src/olap/rowid_conversion.h
Outdated
| public: | ||
| RowIdConversion() = default; | ||
| ~RowIdConversion() = default; | ||
| ~RowIdConversion() { CONSUME_THREAD_MEM_TRACKER(-_seg_rowid_map_mem_used); } |
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.
RELEASE_THREAD_MEM_TRACKER
be/src/vec/common/custom_allocator.h
Outdated
| using MyVector = std::vector<P, CustomStdAllocator<P>>; | ||
|
|
||
| template <typename K, typename T> | ||
| using MyMap = std::map<K, T, std::less<K>, CustomStdAllocator<std::pair<const K, T>>>; |
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.
maybe DorisMap sounds better
374e0cd to
4436141
Compare
TPC-H: Total hot run time: 41665 ms |
TPC-DS: Total hot run time: 191736 ms |
ClickBench: Total hot run time: 32.31 s |
8b1cdad to
afb520f
Compare
zhannngchen
left a comment
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.
LGTM
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
d827db5 to
aabd735
Compare
|
run buildall |
1 similar comment
|
run buildall |
398cfee to
f8b7132
Compare
|
run buildall |
7542ad9 to
e6f3319
Compare
|
run buildall |
e6f3319 to
71fa09c
Compare
TPC-H: Total hot run time: 41015 ms |
|
TeamCity be ut coverage result: |
TPC-DS: Total hot run time: 192538 ms |
ClickBench: Total hot run time: 33.11 s |
|
PR approved by at least one committer and no changes requested. |
xinyiZzz
left a comment
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.
LGTM
Proposed changes
1 Add customStdAllocator for vector/map.
2 Manually count memory for delete bitmap.