Multi-line parsing supports SIMD optimization
Improve the performance of parsing newlines through SIMD.
The following are the performance comparison test results under 150 tasks and 180MB/s traffic:
Before optimization:
After optimization:
After optimization, the performance is improved by about 8%. If the GetNextLine method is tested separately, the performance is improved by 1 times.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
zhongyuankai seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.
@zhongyuankai Can you share the performance comparison before and after this PR?
@zhongyuankai Is it convenient to communicate on WeChat or DingTalk?
@linrunqi08 Thank you for your reply. I have updated the comment. I am happy to communicate with you. How can I contact you on WeChat?
@zhongyuankai You can add my WeChat ID: linrunqi08