git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b35b5c6
)
show test result in ops/sec
author
Andrew Tridgell
<tridge@samba.org>
Sun, 2 Jan 2000 01:40:54 +0000
(
01:40
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Sun, 2 Jan 2000 01:40:54 +0000
(
01:40
+0000)
source/tdb/tdbtest.c
patch
|
blob
|
history
diff --git
a/source/tdb/tdbtest.c
b/source/tdb/tdbtest.c
index 39dd5ff93bc1a665b519d5939108ffd30fd55d3c..8089e7be7d5a845a379aa6453e455a224b6e7a31 100644
(file)
--- a/
source/tdb/tdbtest.c
+++ b/
source/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();