我運行了包含在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