Skip to content
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

Optimizing benchmark code #3284

Closed
zhangjidi2016 opened this issue Aug 24, 2021 · 0 comments
Closed

Optimizing benchmark code #3284

zhangjidi2016 opened this issue Aug 24, 2021 · 0 comments

Comments

@zhangjidi2016
Copy link
Contributor

Using LongAdder instead of AtomicLong to reduce concurrent contention in Producer and Consumer;

zhangjidi2016 pushed a commit to zhangjidi2016/rocketmq that referenced this issue Aug 24, 2021
@duhenglucky duhenglucky added this to the 4.9.2 milestone Aug 24, 2021
zongtanghu pushed a commit that referenced this issue Aug 26, 2021
* [ISSUE #3284]Optimizing benchmark code

* Reduce calls to the longValue method in the loop

Co-authored-by: zhangjidi <zhangjidi@cmss.chinamobile.com>
keepal7 added a commit to keepal7/rocketmq that referenced this issue Sep 3, 2021
keepal7 added a commit to keepal7/rocketmq that referenced this issue Sep 3, 2021
zhangjidi2016 pushed a commit to zhangjidi2016/rocketmq that referenced this issue Sep 7, 2021
areyouok pushed a commit that referenced this issue Sep 8, 2021
* [ISSUE #3284]Optimize the buildMessage method

Co-authored-by: zhangjidi2016 <zhangjidi@cmss.chinamobile.com>
GenerousMan pushed a commit to GenerousMan/rocketmq that referenced this issue Aug 12, 2022
* [ISSUE apache#3284]Optimizing benchmark code

* Reduce calls to the longValue method in the loop

Co-authored-by: zhangjidi <zhangjidi@cmss.chinamobile.com>
GenerousMan pushed a commit to GenerousMan/rocketmq that referenced this issue Aug 12, 2022
GenerousMan pushed a commit to GenerousMan/rocketmq that referenced this issue Aug 12, 2022
* [ISSUE apache#3284]Optimize the buildMessage method

Co-authored-by: zhangjidi2016 <zhangjidi@cmss.chinamobile.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants