summaryrefslogtreecommitdiffstats
path: root/profile/benchmark-dictionary.c
diff options
context:
space:
mode:
Diffstat (limited to 'profile/benchmark-dictionary.c')
-rw-r--r--profile/benchmark-dictionary.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/profile/benchmark-dictionary.c b/profile/benchmark-dictionary.c
index 163f44257f..8c414db8e7 100644
--- a/profile/benchmark-dictionary.c
+++ b/profile/benchmark-dictionary.c
@@ -22,14 +22,14 @@ struct myvalue {
int main(int argc, char **argv) {
if(argc || argv) {;}
- DICTIONARY *dict = dictionary_create(DICTIONARY_FLAG_SINGLE_THREADED);
+ DICTIONARY *dict = dictionary_create(DICTIONARY_FLAG_SINGLE_THREADED|DICTIONARY_FLAG_NAME_CORRUPTION_CHECK);
if(!dict) fatal("Cannot create dictionary.");
struct rusage start, end;
unsigned long long dt;
char buf[100 + 1];
struct myvalue value, *v;
- int i, max = 1000000, max2;
+ int i, max = 100000, max2;
// ------------------------------------------------------------------------