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

Merge branch 'master' of l:libpsyc

This commit is contained in:
psyc://loupsycedyglgamf.onion/~lynX 2016-01-30 00:33:26 +01:00
commit f5e2ea036d
6 changed files with 1131 additions and 24 deletions

View file

@ -44,6 +44,27 @@ For more information see the API documentation at [[http://lib.psyc.eu/doc/]].
: test/ # test sourcecodes and test input files
: d/ # the D binding
* Compiling libpsyc
On GNU systems, type
: make
On other systems install GNU make, then type
: gmake
and you are done.
Other possible targets include:
: make install [prefix=/usr] # install into prefix
: make diet # compile with diet libc
: make test # compile and run the tests
: make doc # generate the API documentation (will be put in the doc folder)
: make help # display the possible targets
* Requirements
libpsyc is currently known to compile under Linux and SunOS.
* Contact
If you created new bindings, patches or anything other that you think should go

4
bench/.gitignore vendored
View file

@ -1,4 +1,4 @@
*.html
*.pdf
# *.html
# *.pdf
results/
packets/binary/[0-9]*

View file

@ -10,11 +10,12 @@ INIT = (setq load-path (cons \"/usr/share/emacs/site-lisp/org-mode\" load-path)
#'
ORG = benchmark.org
html:
it:
for f in ${ORG}; do \
emacs -Q --batch --eval \
"(progn ${INIT} (find-file \"$$f\") \
(org-export-as-html-batch) (kill-buffer))"; \
(org-html-export-to-html) (kill-buffer))"; \
# (org-export-as-html-batch) (kill-buffer))";
done
pdf:

1104
bench/benchmark.html Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,4 +1,5 @@
#+TITLE: libpsyc Performance Benchmarks
#+HTML: <style type="text/css"> body { padding: 44px; } </style>
In this document we present the results of performance benchmarks
of libpsyc compared to json-c, libjson-glib, rapidxml and libxml2.

View file

@ -1,23 +1,3 @@
/*
This file is part of libpsyc.
Copyright (C) 2011,2012 Carlo v. Loesch, Gabor X Toth, Mathias L. Baumann,
and other contributing authors.
libpsyc is free software: you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version. As a special exception, libpsyc is distributed with additional
permissions to link libpsyc libraries with non-AGPL works.
libpsyc is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
details.
You should have received a copy of the GNU Affero General Public License and
the linking exception along with libpsyc in a COPYING file.
*/
/*-
* Copyright (c) 2005 Pascal Gloor <pascal.gloor@spale.com>
*