diff --git a/bench/Makefile b/bench/Makefile index d886661..1acfe12 100644 --- a/bench/Makefile +++ b/bench/Makefile @@ -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 diff --git a/bench/results.org b/bench/results.org index ada183c..2352788 100644 --- a/bench/results.org +++ b/bench/results.org @@ -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