1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00

bench: json-glib results

This commit is contained in:
Gabor Adam Toth 2011-05-16 15:02:06 +02:00
parent 58b4db474f
commit 4d45e306b6

View file

@ -5,19 +5,20 @@
Parsing time of 1 000 000 packets in milliseconds:
| | libpsyc | json-c | libxml-sax | libxml | rapidxml-fast | rapidxml |
|-----------+---------+--------+------------+--------+---------------+----------|
| presence | 597 | 3247 | 4997 | 7557 | 1643 | 1719 |
| chat msg | 714 | | 5997 | 9777 | 1799 | 1893 |
| activity | 903 | 5768 | 13357 | 28858 | 4001 | 4419 |
| user prof | 1806 | 5847 | 7350 | 12377 | 2218 | 2477 |
| / | < | | | | | > |
| | libpsyc | json-c | json-glib | libxml-sax | libxml | rapidxml-fast | rapidxml |
|-----------+---------+--------+-----------+------------+--------+---------------+----------|
| presence | 597 | 3247 | 10197 | 4997 | 7557 | 1643 | 1719 |
| chat msg | 714 | | | 5997 | 9777 | 1799 | 1893 |
| activity | 903 | 5768 | 16846 | 13357 | 28858 | 4001 | 4419 |
| user prof | 1806 | 5847 | 17468 | 7350 | 12377 | 2218 | 2477 |
| / | < | | | | | | > |
* Commands used
: ./testPsyc -snc 1000000 -f $file
: ./testJson -snc 1000000 -f $file
: ./testJsonGlib -snc 1000000 -f $file
: ./rapidxml 1000000 $file
: fast_mode=1 ./rapidxml 1000000 $file
: ./libxml 1000000 $file