X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=postlicyd%2Ftst-rbl.c;h=30d6533dc94f1b9d2ce105559bf72a73bee8befe;hb=54ffb02d50692303ec08614c416c6718f01bf149;hp=8ba5e1232bd47d2ec11ad0f6099e73f87263616a;hpb=d41a6fc007689de7301252c8f4cbdbf3614be96d;p=apps%2Fpfixtools.git diff --git a/postlicyd/tst-rbl.c b/postlicyd/tst-rbl.c index 8ba5e12..30d6533 100644 --- a/postlicyd/tst-rbl.c +++ b/postlicyd/tst-rbl.c @@ -48,10 +48,10 @@ int main(int argc, char *argv[]) rbldb_stats(db) * 4); time_t now = time(NULL); - for (uint32_t i = 0 ; i < 100000000 ; ++i) { + for (uint32_t i = 0 ; i < 1000000000 ; ++i) { rbldb_ipv4_lookup(db, (88 << 24) | (170 << 16) | (239 << 8) | (132)); } - printf("%ld request per second\n", 100000000 / (time(NULL) - now)); + printf("%ld request per second\n", 1000000000 / (time(NULL) - now)); rbldb_delete(&db); } return 0;