{"id":2704,"date":"2015-07-18T07:48:45","date_gmt":"2015-07-17T23:48:45","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=2704"},"modified":"2015-07-18T08:02:38","modified_gmt":"2015-07-18T00:02:38","slug":"qdb-%e4%b8%80%e4%b8%aa%e6%96%b0%e7%9a%84%e5%8e%9f%e7%94%9f%e4%ba%8c%e8%bf%9b%e5%88%b6%e8%bd%ac%e6%8d%a2%e5%99%a8%ef%bc%8c%e7%94%9f%e6%88%90%e6%96%87%e4%bb%b6%e7%9a%84%e4%bd%93%e7%a7%af%e6%9c%80","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=2704","title":{"rendered":"[QDB] \u4e00\u4e2a\u65b0\u7684\u539f\u751f\u4e8c\u8fdb\u5236\u8f6c\u6362\u5668\uff0c\u751f\u6210\u6587\u4ef6\u7684\u4f53\u79ef\u6700\u5c0f"},"content":{"rendered":"<p>QDB \u65b0\u5b9e\u73b0\u4e86\u4e00\u4e2a TQBinaryConverter \u505a\u4e3a\u539f\u751f\u7684\u4e8c\u8fdb\u5236\u683c\u5f0f\uff0c\u5b83\u7684\u6e90\u7801\u4f4d\u4e8e qconverter_stds.pas \u91cc\uff0c\u76f8\u6bd4 MsgPack\u3001Json \u53ca FireDAC \u00a0\u7684\u4e8c\u8fdb\u5236\u683c\u5f0f\uff0c\u5176\u4f53\u79ef\u4e5f\u66f4\u5c0f\uff0c\u901f\u5ea6\u4e5f\u66f4\u5feb\u3002\u540c\u6837 10 \u4e07\u6761\u8bb0\u5f55\uff0c\u4e0b\u9762\u662f\u51e0\u79cd\u683c\u5f0f\u7684\u4fdd\u5b58\u7ed3\u679c\u5bf9\u6bd4\uff08\u5747\u672a\u538b\u7f29\uff09\uff1a<\/p>\n<ul>\n<li>TQBinaryConverter \u7528\u65f6 203 ms\uff08 1.00x \uff09\uff0c\u6587\u4ef6\u5927\u5c0f\uff1a6.71 MB\uff08 1.00x \uff09<\/li>\n<li>TQTMsgPackConverter \u7528\u65f6 797 ms\uff08 3.93x \uff09\uff0c\u6587\u4ef6\u5927\u5c0f\uff1a7.91 MB\uff08 1.18x \uff09<\/li>\n<li>TQJsonConverter \u7528\u65f6 953 ms\uff08 4.69x \uff09\uff0c\u6587\u4ef6\u5927\u5c0f\uff1a12.7 MB\u00a0\uff08 1.89x \uff09<\/li>\n<li>TQFDBinaryConverter \u7528\u65f6 1219\u00a0ms\uff08 6.00x \uff09\uff0c\u6587\u4ef6\u5927\u5c0f\uff1a12.1 MB\uff08 1.80x \uff09<\/li>\n<li>TQFDJsonConverter \u7528\u65f6 1985 ms\uff08 9.78x \uff09\uff0c\u6587\u4ef6\u5927\u5c0f\uff1a25.1 MB\uff08 3.74x \uff09<\/li>\n<li>TQFDXMLConverter \u7528\u65f6 1938 ms\uff08 9.54x \uff09\uff0c\u6587\u4ef6\u5927\u5c0f\uff1a24.8 MB\uff08 3.70x \uff09<\/li>\n<\/ul>\n<p>\u597d\u4e86\uff0c\u6392\u9664\u4fdd\u5b58\u65f6\u95f4\u7684\u6bd4\u8f83\uff0c\u5355\u770b\u6587\u4ef6\u4f53\u79ef\uff0cQDB \u65b0\u7684\u539f\u751f\u683c\u5f0f\u4e5f\u8981\u660e\u663e\u5c0f\u4e8e\u5176\u5b83\u5b58\u8d2e\u683c\u5f0f\uff0c\u5b9e\u5728\u662f\u591c\u9ed1\u98ce\u9ad8\u3001\u4f20\u9001\u6570\u636e\u7684\u4e0d\u4e8c\u9009\u62e9\u3002TQFDBinaryConverter \u7684\u5199\u5165\u6548\u7387\u6bd4\u6211\u60f3\u50cf\u7684\u6709\u70b9\u5dee\uff0c\u9700\u8981\u627e\u4e00\u4e0b\u539f\u56e0\uff0c\u4f18\u5316\u4e0b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>QDB \u65b0\u5b9e\u73b0\u4e86\u4e00\u4e2a TQBinaryC [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[69,8,9,66,21],"tags":[439,367],"class_list":["post-2704","post","type-post","status-publish","format-standard","hentry","category-c-builder","category-delphi","category-qdac","category-qdb","category-misc","tag-439","tag-367"],"views":5238,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/2704","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2704"}],"version-history":[{"count":3,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/2704\/revisions"}],"predecessor-version":[{"id":2707,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/2704\/revisions\/2707"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2704"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2704"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}