mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
bench make
This commit is contained in:
parent
4d45e306b6
commit
c38cb2107f
2 changed files with 10 additions and 4 deletions
|
@ -1,5 +1,12 @@
|
|||
ORG_PATH = /usr/share/emacs/site-lisp/org-mode
|
||||
INIT = (setq load-path (cons \"/usr/share/emacs/site-lisp/org-mode\" load-path)) (require 'org-install)
|
||||
INIT = (setq load-path (cons \"/usr/share/emacs/site-lisp/org-mode\" load-path) \
|
||||
make-backup-files nil \
|
||||
org-export-author-info nil \
|
||||
org-export-creator-info nil \
|
||||
org-export-html-validation-link nil \
|
||||
org-babel-tangle-pad-newline nil \
|
||||
org-src-preserve-indentation t) \
|
||||
(require 'org-install)
|
||||
|
||||
wiki2org:
|
||||
perl -pe '\
|
||||
|
@ -13,7 +20,6 @@ wiki2org:
|
|||
tangle:
|
||||
emacs -Q --batch --eval \
|
||||
"(progn ${INIT} (find-file \"benchmark.org\") \
|
||||
(setq org-babel-tangle-pad-newline nil org-src-preserve-indentation t) \
|
||||
(org-babel-tangle) (kill-buffer))"
|
||||
perl -pi -e 'print "\n" unless $$p; $$p=1' packets/user_profile.psyc
|
||||
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
|
||||
Parsing time of 1 000 000 packets in milliseconds:
|
||||
|
||||
| | libpsyc | json-c | json-glib | libxml-sax | libxml | rapidxml-fast | rapidxml |
|
||||
| | 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
|
||||
|
|
Loading…
Reference in a new issue