Add wrbuf_sha1_puts
[yaz-moved-to-github.git] / util / benchmark.c
index 14db792..3b00f13 100644 (file)
@@ -1,15 +1,10 @@
-/* $Id: benchmark.c,v 1.9 2005-10-22 13:13:56 adam Exp $
- * Copyright (C) 1995-2005, Index Data ApS
- *
- * This file is part of the YAZ toolkit.
- *
- * See the file LICENSE.
- *
- * This is an elementary benchmarker for server performance.  It works
- * by repeatedly connecting to, seaching in and retrieving from the
- * specified server, and keeps statistics about the minimum, maximum
- * and average times for each operation.
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) Index Data
+ * See the file LICENSE for details.
  */
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -52,7 +47,7 @@ int main(int argc, char **argv)
     int ok;
     int nok = 0;
     char *arg;
-    
+
     while ((c = options("c:s:p:fbd:rv:", argv, argc, &arg)) != -2) {
         switch (c) {
         case 0:
@@ -139,6 +134,7 @@ static void db_printf(int level, char *fmt, ...)
 /*
  * Local variables:
  * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
  * indent-tabs-mode: nil
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab