mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
bench make
This commit is contained in:
parent
31c7bc405d
commit
7676af280b
2 changed files with 10 additions and 4 deletions
|
@ -1,5 +1,12 @@
|
||||||
ORG_PATH = /usr/share/emacs/site-lisp/org-mode
|
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:
|
wiki2org:
|
||||||
perl -pe '\
|
perl -pe '\
|
||||||
|
@ -13,7 +20,6 @@ wiki2org:
|
||||||
tangle:
|
tangle:
|
||||||
emacs -Q --batch --eval \
|
emacs -Q --batch --eval \
|
||||||
"(progn ${INIT} (find-file \"benchmark.org\") \
|
"(progn ${INIT} (find-file \"benchmark.org\") \
|
||||||
(setq org-babel-tangle-pad-newline nil org-src-preserve-indentation t) \
|
|
||||||
(org-babel-tangle) (kill-buffer))"
|
(org-babel-tangle) (kill-buffer))"
|
||||||
perl -pi -e 'print "\n" unless $$p; $$p=1' packets/user_profile.psyc
|
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:
|
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 |
|
| presence | 597 | 3247 | 10197 | 4997 | 7557 | 1643 | 1719 |
|
||||||
| chat msg | 714 | | | 5997 | 9777 | 1799 | 1893 |
|
| chat msg | 714 | | | 5997 | 9777 | 1799 | 1893 |
|
||||||
| activity | 903 | 5768 | 16846 | 13357 | 28858 | 4001 | 4419 |
|
| activity | 903 | 5768 | 16846 | 13357 | 28858 | 4001 | 4419 |
|
||||||
| user prof | 1806 | 5847 | 17468 | 7350 | 12377 | 2218 | 2477 |
|
| user prof | 1806 | 5847 | 17468 | 7350 | 12377 | 2218 | 2477 |
|
||||||
| / | < | | | | | | > |
|
| / | <> | < | > | < | > | < | > |
|
||||||
|
|
||||||
|
|
||||||
* Commands used
|
* Commands used
|
||||||
|
|
Loading…
Reference in a new issue