mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
show test result in ops/sec
(This used to be commit 88a146ab04d65fc306569044dc00907a374fac51)
This commit is contained in:
parent
7a0bc53221
commit
321983bb6b
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user