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

bench: testPsycFast results

This commit is contained in:
Gabor Adam Toth 2011-05-16 20:13:10 +02:00
parent 3213934471
commit 13fdac0613
8 changed files with 133 additions and 24 deletions

View file

@ -8,6 +8,8 @@ INIT = (setq load-path (cons \"/usr/share/emacs/site-lisp/org-mode\" load-path)
org-src-preserve-indentation t) \
(require 'org-install)
ORG = benchmark.org results.org
wiki2org:
perl -pe '\
s/^= (.*) =\s*$$/#+TITLE: $$1\n/; \
@ -17,18 +19,21 @@ wiki2org:
s/^}}}/#+END_SRC/ \
' benchmark.wiki >benchmark.org
tangle:
packets:
emacs -Q --batch --eval \
"(progn ${INIT} (find-file \"benchmark.org\") \
(org-babel-tangle) (kill-buffer))"
perl -pi -e 'print "\n" unless $$p; $$p=1' packets/user_profile.psyc
html:
emacs -Q --batch --eval \
"(progn ${INIT} (find-file \"benchmark.org\") \
(org-export-as-html-batch) (kill-buffer))"
for f in ${ORG}; do \
emacs -Q --batch --eval \
"(progn ${INIT} (find-file \"$$f\") \
(org-export-as-html-batch) (kill-buffer))"; \
done
pdf:
emacs -Q --batch --eval \
"(progn ${INIT} (find-file \"benchmark.org\") \
(org-export-as-pdf org-export-headline-levels) (kill-buffer))"
for f in ${ORG}; do \
emacs -Q --batch --eval \
"(progn ${INIT} (find-file \"$@.org\") \
(org-export-as-pdf org-export-headline-levels) (kill-buffer))"