From 283b11c2cdc5a44e60b8ae938545f2b4c2f9759b Mon Sep 17 00:00:00 2001 From: "tg(x)" <*@tg-x.net> Date: Tue, 24 May 2011 19:15:05 +0200 Subject: [PATCH] + --- bench/benchmark.org | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/bench/benchmark.org b/bench/benchmark.org index 5a9f0be..c6e9bd2 100644 --- a/bench/benchmark.org +++ b/bench/benchmark.org @@ -129,13 +129,16 @@ We'll use the latter here: Parsing time of 1 000 000 packets, in milliseconds. a simple strlen scan of the respective message is provided for comparison. -| input: | PSYC | | JSON | | | XML | | -| parser: | strlen | libpsyc | json-c | json-glib | libxml sax | libxml | rapidxml | -|--------------+--------+---------+--------+-----------+------------+--------+----------| -| user profile | 55 | 608 | 4715 | 16503 | 7350 | 12377 | 2477 | -|--------------+--------+---------+--------+-----------+------------+--------+----------| -| / | < | > | < | > | < | | > | -| | | | | | | | | +| input: | PSYC | | JSON | | | XML | | +| parser: | strlen | libpsyc | json-c | json-glib | libxml sax | libxml | rapidxml | +|-----------------+--------+---------+--------+-----------+------------+--------+----------| +| user profile | 55 | 608 | 4715 | 16503 | 7350 | 12377 | 2477 | +| psyc-unfriendly | 70 | 286 | 2892 | 12567 | 5538 | 8659 | 1896 | +| json-unfriendly | 49 | 430 | 2328 | 10006 | 5141 | 7875 | 1751 | +| xml-unfriendly | 37 | 296 | 2156 | 9591 | 5571 | 8769 | 1765 | +|-----------------+--------+---------+--------+-----------+------------+--------+----------| +| / | < | > | < | > | < | | > | +| | | | | | | | | Pure syntax comparisons above, protocol performance comparisons below: @@ -145,9 +148,6 @@ Pure syntax comparisons above, protocol performance comparisons below: | presence | 30 | 236 | 2463 | 10016 | 4997 | 7557 | 1719 | | chat msg | 40 | 295 | 2147 | 9526 | 5997 | 9777 | 1893 | | activity | 42 | 353 | 4666 | 16327 | 13357 | 28858 | 4356 | -| psyc-unfriendly | 70 | 286 | 2892 | 12567 | 5538 | 8659 | 1896 | -| json-unfriendly | 49 | 430 | 2328 | 10006 | 5141 | 7875 | 1751 | -| xml-unfriendly | 37 | 296 | 2156 | 9591 | 5571 | 8769 | 1765 | |-----------------+--------+---------+--------+-----------+------------+--------+----------| | / | < | > | < | > | < | | > |