From d7230fee0df687267fb6c29b5bb8b577de21ce4c Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Mon, 20 Sep 2021 01:43:25 +0200 Subject: Add a basic benchmarking tool --- fastiv-io-benchmark.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 fastiv-io-benchmark.c (limited to 'fastiv-io-benchmark.c') diff --git a/fastiv-io-benchmark.c b/fastiv-io-benchmark.c new file mode 100644 index 0000000..6899b3e --- /dev/null +++ b/fastiv-io-benchmark.c @@ -0,0 +1,65 @@ +// +// fastiv-io-benchmark.c: see if we're worth the name +// +// Copyright (c) 2021, Přemysl Eric Janouch
+//
+// Permission to use, copy, modify, and/or distribute this software for any
+// purpose with or without fee is hereby granted.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+// SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
+// OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+//
+
+#include