X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=profile%2Fbenchmark-dictionary.c;h=8ec3ae0318b4b266f1dad18fc250af9058062da6;hb=0444aa8ff91dce4d4ab5971187944ed894b550e2;hp=6e524797551d24011dcf2380ebbe54a53d50dd6c;hpb=e26fedfc7a43f30e5fdfdf624c01171d28ce807a;p=netdata.git diff --git a/profile/benchmark-dictionary.c b/profile/benchmark-dictionary.c index 6e524797..8ec3ae03 100644 --- a/profile/benchmark-dictionary.c +++ b/profile/benchmark-dictionary.c @@ -7,18 +7,14 @@ * */ -#include -#include - -#include "dictionary.h" -#include "main.h" -#include "log.h" #include "common.h" struct myvalue { int i; }; +void netdata_cleanup_and_exit(int ret) { exit(ret); } + int main(int argc, char **argv) { if(argc || argv) {;} @@ -30,7 +26,7 @@ int main(int argc, char **argv) { unsigned long long dt; char buf[100 + 1]; struct myvalue value, *v; - int i, max = 100000, max2; + int i, max = 30000000, max2; // ------------------------------------------------------------------------