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

1 KiB

Benchmark results

Results

Parsing time of 1 000 000 packets in milliseconds:

strlen libpsyc json-c json-glib libxml sax libxml rapidxml
presence 30 246 2463 10197 4997 7557 1719
chat msg 41 320 5997 9777 1893
activity 42 366 4666 16846 13357 28858 4419
user prof 55 608 4715 17468 7350 12377 2477
/ < < < > < > >

Commands used

./testPsycSpeed -sc 1000000 -f $file
./testJson -snc 1000000 -f $file
./testJsonGlib -snc 1000000 -f $file
./testStrlen -sc 1000000 -f $file
./rapidxml 1000000 $file
./libxml 1000000 $file
./libxml-sax 1000000 $file