From d124ac405cfa08152d1f440e8dbe479084a3d23e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 12 Jun 2022 19:26:04 -0400 Subject: Update benchmarks --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 76c80688..cae1c9f6 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,8 @@ Features than the C standard library. It is known to compile with GCC, Clang, and MSVC (as C++), and is tested on GNU/Linux, MacOS, and Windows. - * **Small:** Serd is implemented in a few thousand lines of C. It typically - compiles to about 100 KiB, or about 50 KiB stripped with size optimizations. + * **Small:** Serd is implemented in a few thousand lines of C. When optimized, + it compiles to well under 100 KiB. * **Fast and Lightweight:** Serd can stream abbreviated Turtle, unlike many tools which must first build an internal model. This makes it particularly @@ -33,15 +33,16 @@ Features specification, and includes many additional tests which were written manually or discovered with fuzz testing. The test suite is run continuously on many platforms, has 100% code coverage by line, and runs - with zero memory errors or leaks. + with zero memory errors or leaks. Code quality is continuously checked + statically by [clang-tidy][], and dynamically by various clang sanitizers. Performance ----------- The benchmarks below compare `serdi`, [rapper][], and [riot][] re-serialising -Turtle data generated by [sp2b][] on an i7-4980HQ running Debian 9. Of the -three, `serdi` is the fastest by a wide margin, and the only one that uses a -constant amount of memory (a single page) for all input sizes. +Turtle data generated by [sp2b][] on an AMD 1950x. Of the three, `serdi` is +the fastest by a wide margin, and the only one that uses a constant amount of +memory for all input sizes. ![Time](doc/serdi-time.svg) ![Throughput](doc/serdi-throughput.svg) @@ -74,6 +75,7 @@ should preserve). To build against serd, use the pkg-config package `serd-0`: [NQuads]: https://www.w3.org/TR/n-quads/ [Free Software]: http://www.gnu.org/philosophy/free-sw.html [ISC license]: http://opensource.org/licenses/isc +[clang-tidy]: https://clang.llvm.org/extra/clang-tidy/ [rapper]: http://librdf.org/raptor/ [riot]: https://jena.apache.org/ [sp2b]: http://www2.informatik.uni-freiburg.de/~mschmidt/docs/sp2b.pdf -- cgit v1.2.1