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

28 lines
1.3 KiB
Org Mode
Raw Normal View History

#+TITLE: Benchmark results
2011-05-16 12:23:53 +00:00
#+OPTIONS: ^:{} toc:nil
2011-05-16 12:23:53 +00:00
* Results
2011-05-16 12:23:53 +00:00
Parsing time of 1 000 000 packets in milliseconds:
2011-05-16 18:13:10 +00:00
| | libpsyc | libpsyc fast | json-c | json-glib | libxml sax | libxml | rapidxml fast | rapidxml |
|-----------+---------+--------------+--------+-----------+------------+--------+---------------+----------|
| presence | 597 | 246 | 3247 | 10197 | 4997 | 7557 | 1643 | 1719 |
| chat msg | 714 | 320 | | | 5997 | 9777 | 1799 | 1893 |
| activity | 903 | 366 | 5768 | 16846 | 13357 | 28858 | 4001 | 4419 |
| user prof | 1806 | 608 | 5847 | 17468 | 7350 | 12377 | 2218 | 2477 |
|-----------+---------+--------------+--------+-----------+------------+--------+---------------+----------|
| / | < | > | < | > | < | > | < | > |
2011-05-16 12:23:53 +00:00
* Commands used
2011-05-16 12:23:53 +00:00
: ./testPsyc -snc 1000000 -f $file
2011-05-16 18:13:10 +00:00
: ./testPsycFast -sc 1000000 -f $file
2011-05-16 12:23:53 +00:00
: ./testJson -snc 1000000 -f $file
2011-05-16 13:02:06 +00:00
: ./testJsonGlib -snc 1000000 -f $file
2011-05-16 18:13:10 +00:00
: ./testStrlen -sc 1000000 -f $file
: ./rapidxml 1000000 $file
: fast_mode=1 ./rapidxml 1000000 $file
: ./libxml 1000000 $file
: ./libxml-sax 1000000 $file