Tendis icon indicating copy to clipboard operation
Tendis copied to clipboard

优化压测时部分命令慢的问题,提升性能

Open earl86 opened this issue 2 months ago • 0 comments

Description

优化压测时部分命令慢的问题,提升性能

Motivation and Context

std::stringstream 字符串拼接效率较低,在高并发下存在性能问题. 改为 std::string 类型拼接,提升效率.

How Has This Been Tested?

压测及使用时未发现异常

Types of Changes

  • [ ] Bug fix (non-breaking change that fixes an issue)
  • [ ] New feature (non-breaking change that adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • [x] Code follows the code style of this project.
  • [ ] Change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.

earl86 avatar Nov 05 '25 01:11 earl86