diff options
Diffstat (limited to 'source3/tdb/tdbtest.c')
-rw-r--r-- | source3/tdb/tdbtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/tdb/tdbtest.c b/source3/tdb/tdbtest.c index 39dd5ff93b..8089e7be7d 100644 --- a/source3/tdb/tdbtest.c +++ b/source3/tdb/tdbtest.c @@ -197,13 +197,13 @@ int main(int argc, char *argv[]) srand(seed); start_timer(); for (i=0;i<loops;i++) addrec_gdbm(); - printf("gdbm took %g secs\n", end_timer()); + printf("gdbm got %.2f ops/sec\n", i/end_timer()); #endif srand(seed); start_timer(); for (i=0;i<loops;i++) addrec_db(); - printf("tdb took %g secs\n", end_timer()); + printf("tdb got %.2f ops/sec\n", i/end_timer()); compare_db(); |