diff options
author | Costa Tsaousis <costa@tsaousis.gr> | 2016-05-08 22:43:44 +0300 |
---|---|---|
committer | Costa Tsaousis <costa@tsaousis.gr> | 2016-05-08 22:43:44 +0300 |
commit | a1abb2f3398730f13a0704133ee1e52b4b6561a9 (patch) | |
tree | fbaf6c21232aafc427a2f961e5fde00fbcdf8b46 /profile | |
parent | e15a5a565bf78ea13aa1c4fda19403bacdcdca36 (diff) |
registry: working prototype with load/save
Diffstat (limited to 'profile')
-rw-r--r-- | profile/benchmark-dictionary.c | 4 |
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; // ------------------------------------------------------------------------ |