]> arthur.barton.de Git - netdata.git/blobdiff - profile/benchmark-dictionary.c
nfacct plugin with static dimension pointers
[netdata.git] / profile / benchmark-dictionary.c
index 6e524797551d24011dcf2380ebbe54a53d50dd6c..8ec3ae0318b4b266f1dad18fc250af9058062da6 100644 (file)
@@ -7,18 +7,14 @@
  *
  */
 
-#include <stdio.h>
-#include <inttypes.h>
-
-#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;
 
        // ------------------------------------------------------------------------