mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
bench: results in table
This commit is contained in:
parent
1c6819cae5
commit
7f5fbdfb35
1 changed files with 13 additions and 44 deletions
|
@ -1,55 +1,24 @@
|
||||||
#+TITLE: Benchmark results
|
#+TITLE: Benchmark results
|
||||||
#+OPTIONS: ^:{}
|
#+OPTIONS: ^:{} toc:nil
|
||||||
|
|
||||||
* libpsyc
|
* Results
|
||||||
|
|
||||||
: ./testPsyc -snqc 1000000 -f $file
|
Parsing time of 1 000 000 packets in milliseconds:
|
||||||
|
|
||||||
- presence: 597 ms
|
| | libpsyc | json-c | rapidxml | rapidxml-fast | libxml | libxml-sax |
|
||||||
- chat_msg: 714 ms
|
|-----------+---------+--------+----------+---------------+--------+------------|
|
||||||
- user_profile: 1806 ms
|
| presence | 597 | 3247 | 1719 | 1643 | 7557 | 4997 |
|
||||||
- activity: 903 ms
|
| chat msg | 714 | | 1893 | 1799 | 9777 | 5997 |
|
||||||
|
| activity | 903 | 5768 | 4419 | 4001 | 28858 | 13357 |
|
||||||
|
| user prof | 1806 | 5847 | 2477 | 2218 | 12377 | 7350 |
|
||||||
|
| / | < | | | | > | |
|
||||||
|
|
||||||
* json-c
|
|
||||||
|
|
||||||
: ./testJson -snqc 1000000 -f $file
|
* Commands used
|
||||||
|
|
||||||
- presence: 3247 ms
|
|
||||||
- user_profile: 5847 ms
|
|
||||||
- activity: 5768 ms
|
|
||||||
|
|
||||||
* rapidxml
|
|
||||||
|
|
||||||
|
: ./testPsyc -snc 1000000 -f $file
|
||||||
|
: ./testJson -snc 1000000 -f $file
|
||||||
: ./rapidxml 1000000 $file
|
: ./rapidxml 1000000 $file
|
||||||
|
|
||||||
- presence: 1719 ms
|
|
||||||
- chat_msg: 1893 ms
|
|
||||||
- user_profile: 2477 ms
|
|
||||||
- activity: 4419 ms
|
|
||||||
|
|
||||||
* rapidxml fast mode
|
|
||||||
|
|
||||||
: fast_mode=1 ./rapidxml 1000000 $file
|
: fast_mode=1 ./rapidxml 1000000 $file
|
||||||
|
|
||||||
- presence: 1643 ms
|
|
||||||
- chat_msg: 1799 ms
|
|
||||||
- user_profile: 2218 ms
|
|
||||||
- activity: 4001 ms
|
|
||||||
|
|
||||||
* libxml
|
|
||||||
|
|
||||||
: ./libxml 1000000 $file
|
: ./libxml 1000000 $file
|
||||||
|
|
||||||
- presence: 7557 ms
|
|
||||||
- chat_msg: 9777 ms
|
|
||||||
- user_profile: 12377 ms
|
|
||||||
- activity: 28858 ms
|
|
||||||
|
|
||||||
* libxml sax
|
|
||||||
|
|
||||||
: ./libxml-sax 1000000 $file
|
: ./libxml-sax 1000000 $file
|
||||||
|
|
||||||
- presence: 4997 ms
|
|
||||||
- chat_msg: 5997 ms
|
|
||||||
- user_profile: 7350 ms
|
|
||||||
- activity: 13357 ms
|
|
||||||
|
|
Loading…
Reference in a new issue