Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.1 KB

File metadata and controls

35 lines (25 loc) · 1.1 KB

Disclaimer

此项目仅供学习与交流使用,请遵循MIT协议,如果您在任何项目中使用相关代码,请保留此项目的LICENSE文件。

message-queue

1-million message-queue in c++ (使用intrinsics编写向量化代码) --- Created By Blink`团队 (Pisces and yche)。

本地构建代码

mkdir -p build && cd build
cmake .. -Dtest=ON -DenableLOG=ON -DenableWall=ON -DCMAKE_INSTALL_PREFIX=/alidata1/race2018/work   
make -j && make install

本仓库的文件

文件夹/文件 说明
include 动态链接库export出来时候的头文件
src 源代码文件
cmake, CMakeLists.txt 项目构建文件

最高跑分统计数据

[2018-07-11 23:49:55,890] Send: 478408 ms Num: 2000000009
[2018-07-11 23:49:55,890] Put message per second: 4180532.12
[2018-07-11 23:51:55,199] Index Check: 107483 ms Num:1000010
[2018-07-11 23:55:46,916] phase3 start
[2018-07-11 23:55:46,916] Check: 231732 ms Num: 200000000
[2018-07-11 23:55:46,916] Tps: 2691946.44