我运行了包含在QuickFix C++中的性能测试代码,并得到了下面的结果。据我所知,这看起来非常好。我正在运行一个商品家用台式机,而不是大型商店使用的高端交易服务器。这个构建是在VS 2012完成优化后完成的。
G:\ projects \ quickfix \ test \ release \ pt> pt。exe文件-p 15000 -c百万
转换整数转换为字符串:
num: 1000000, seconds: 0.016, num_per_second: 6.25e+007
将字符串转换为整数:
num: 1000000, seconds: 0, num_per_second: 1.#INF
转换双打字符串:
num: 1000000, seconds: 0.5, num_per_second: 2e+006
将字符串转换为双打:
num: 1000000, seconds: 0.219, num_per_second: 4.56621e+006
创建心跳消息:
num: 1000000, seconds: 0.75, num_per_second: 1.33333e+006
识别消息类型:
num: 1000000, seconds: 0.062, num_per_second: 1.6129e+007
序列化心跳消息字符串:
num: 1000000, seconds: 0.516, num_per_second: 1.93798e+006
从字符串序列化心跳消息:
num: 1000000, seconds: 1.094, num_per_second: 914077
创建NewOrderSingle消息:
num: 1000000, seconds: 2.312, num_per_second: 432526
序列化NewOrderSingle消息字符串:
num: 1000000, seconds: 0.75, num_per_second: 1.33333e+006
序列化NewOrderSingle消息从字符串:
num: 1000000, seconds: 3.188, num_per_second: 313676
创建QuoteRequest消息:
num: 1000000, seconds: 41.547, num_per_second: 24069.1
序列化QuoteRequest消息字符串:
num: 1000000, seconds: 3.734, num_per_second: 267809
从字符串序列化QuoteRequest消息:
num: 1000000, seconds: 26.672, num_per_second: 37492.5
从QuoteRequest消息读取字段:
num: 1000000, seconds: 15.89, num_per_second: 62932.7
贮藏NewOrderSingle消息:
num: 1000000, seconds: 3.485, num_per_second: 286944
验证NewOrderSingle消息没有数据字典:
num: 1000000, seconds: 0.11, num_per_second: 9.09091e+006
验证NewOrderSingle消息与数据字典:
G:\项目\的quickfix \测试\释放\ PT>
如果QuickFix的活着,然后我可以检查版本的历史?过去2年多少的表现得到改善?为什么quickfix性能不如固定天线性能好? – javapowered 2012-01-09 17:51:35
@javapowered - 您从哪里获得测试结果的指标?引擎使用什么数据传输?这只是你的想法或假设吗?你在说什么表现?交易还是别的?查看quickfix网站和sourceforge网站以了解版本详情。我提到要检查提供Quickfix支持的商业公司,你试过了吗? – DumbCoder 2012-01-09 20:53:12
我跟人说话,他们说quickfix比较慢,也看这个结果:http://www.b2bits.com/performance_lab/fast_antenna_codec/fast_codec_windows.html我没有试过商业公司。我在quickfix网站上找不到版本历史记录。 – javapowered 2012-01-10 08:15:14