-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresults.txt
556 lines (435 loc) · 18.1 KB
/
results.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
execution 1: main dicts/dict1 queries/query1 3 200000 10000000 0.6 200000
Diccionari: dicts/dict1
Queries: queries/query1
---- Binary Search Results ----
find(k): comparisons between keys: 19.0354
find(k): average search time: 2.94827e-07
find(k): total search time: 0.0294827
find(k): number of successful queries: 49452
find(k): number of unsuccessful queries: 50548
setDictionary(v): sort comparisons: 1.76845e+07
** For found elements **
find(k): average comparisons between keys: 17.5211
** For not found elements **
find(k): average comparisons between keys: 20.5168
---- Bloom Filter Results ----
find(k): average search time: 3.071e-07
find(k): total search time: 0.03071
find(k): number of successful queries: 52078
find(k): number of unsuccessful queries: 47922
insert(k): average insertion time: 3.04758e-07
insert(k): total insertion time: 0.215265
insert(k): number of elements: 706346
hash funcs: number of calls to hash functions: 1.61269e+06
---- Hash Table Results ----
find(k): average search time: 4.28098e-06
find(k): total search time: 0.0283623
find(k): number of successful queries: 49452
find(k): number of unsuccessful queries: 50548
insert(k): average insertion time: 6.06132e-07
insert(k): total insertion time: 0.399736
insert(k): number of elements: 706279
rehash(): number of rehashes: 3
rehash(): average time of each rehash: 0.0707261
rehash(): average time between each rehash: 0.0719733
: number of calls to hash: 3.19263e+06
---- Cuckoo Results ----
find(k): average search time: 3.31887e-07
find(k): total search time: 0.0331887
find(k): number of successful queries: 49452
find(k): number of unsuccessful queries: 50548
insert(k): average insertion time: 1.40101e-06
insert(k): total insertion time: 0.989503
insert(k): total number of bounces: 6.95916e+06
insert(k): number of elements: 706279
rehash(): number of rehashes: 3
rehash(): average time of each rehash: 0.0792294
rehash(): average time between each rehash: 0.261668
: number of calls to hash1: 6.62568e+06
: number of calls to hash2: 5.59404e+06
--- FI EXPERIMENT ---
execution 2: main dicts/dict2 queries/query2 3 400000 20000000 0.6 400000
Diccionari: dicts/dict2
Queries: queries/query2
---- Binary Search Results ----
find(k): comparisons between keys: 18.5908
find(k): average search time: 2.93875e-07
find(k): total search time: 0.026199
find(k): number of successful queries: 44157
find(k): number of unsuccessful queries: 44993
setDictionary(v): sort comparisons: 1.35911e+07
** For found elements **
find(k): average comparisons between keys: 17.0745
** For not found elements **
find(k): average comparisons between keys: 20.0789
---- Bloom Filter Results ----
find(k): average search time: 3.13266e-07
find(k): total search time: 0.0279277
find(k): number of successful queries: 44860
find(k): number of unsuccessful queries: 44290
insert(k): average insertion time: 3.23963e-07
insert(k): total insertion time: 0.176929
insert(k): number of elements: 546140
hash funcs: number of calls to hash functions: 1.27058e+06
---- Hash Table Results ----
find(k): average search time: 4.22146e-06
find(k): total search time: 0.025231
find(k): number of successful queries: 44157
find(k): number of unsuccessful queries: 44993
insert(k): average insertion time: 6.89138e-07
insert(k): total insertion time: 0.351112
insert(k): number of elements: 546107
rehash(): number of rehashes: 2
rehash(): average time of each rehash: 0.102543
rehash(): average time between each rehash: 0.0856287
: number of calls to hash: 2.6214e+06
---- Cuckoo Results ----
find(k): average search time: 3.1284e-07
find(k): total search time: 0.0278897
find(k): number of successful queries: 44157
find(k): number of unsuccessful queries: 44993
insert(k): average insertion time: 7.56111e-07
insert(k): total insertion time: 0.412918
insert(k): total number of bounces: 2.34051e+06
insert(k): number of elements: 546107
rehash(): number of rehashes: 1
rehash(): average time of each rehash: 0.0651727
rehash(): average time between each rehash: 0.375635
: number of calls to hash1: 2.72708e+06
: number of calls to hash2: 2.25411e+06
--- FI EXPERIMENT ---
execution 3: main dicts/dict3 queries/query3 3 600000 30000000 0.6 600000
Diccionari: dicts/dict3
Queries: queries/query3
---- Binary Search Results ----
find(k): comparisons between keys: 17.2484
find(k): average search time: 2.64891e-07
find(k): total search time: 0.016041
find(k): number of successful queries: 29901
find(k): number of unsuccessful queries: 30656
setDictionary(v): sort comparisons: 4.43792e+06
** For found elements **
find(k): average comparisons between keys: 15.7287
** For not found elements **
find(k): average comparisons between keys: 18.7306
---- Bloom Filter Results ----
find(k): average search time: 3.23827e-07
find(k): total search time: 0.01961
find(k): number of successful queries: 29936
find(k): number of unsuccessful queries: 30621
insert(k): average insertion time: 3.33626e-07
insert(k): total insertion time: 0.0690533
insert(k): number of elements: 206978
hash funcs: number of calls to hash functions: 535070
---- Hash Table Results ----
find(k): average search time: 1.11773e-06
find(k): total search time: 0.0160247
find(k): number of successful queries: 29901
find(k): number of unsuccessful queries: 30656
insert(k): average insertion time: 3.27031e-07
insert(k): total insertion time: 0.0516617
insert(k): number of elements: 206972
rehash(): number of rehashes: 0
rehash(): average time of each rehash: -nan
rehash(): average time between each rehash: inf
: number of calls to hash: 474507
---- Cuckoo Results ----
find(k): average search time: 3.08552e-07
find(k): total search time: 0.018685
find(k): number of successful queries: 29901
find(k): number of unsuccessful queries: 30656
insert(k): average insertion time: 3.93862e-07
insert(k): total insertion time: 0.0815183
insert(k): total number of bounces: 64272
insert(k): number of elements: 206972
rehash(): number of rehashes: 0
rehash(): average time of each rehash: -nan
rehash(): average time between each rehash: inf
: number of calls to hash1: 478043
: number of calls to hash2: 306652
--- FI EXPERIMENT ---
execution 4: main dicts/dict4 queries/query4 3 800000 40000000 0.6 800000
Diccionari: dicts/dict4
Queries: queries/query4
---- Binary Search Results ----
find(k): comparisons between keys: 21.4648
find(k): average search time: 3.96629e-07
find(k): total search time: 1.58652
find(k): number of successful queries: 1.98187e+06
find(k): number of unsuccessful queries: 2.01813e+06
setDictionary(v): sort comparisons: 1.2029e+08
** For found elements **
find(k): average comparisons between keys: 19.9507
** For not found elements **
find(k): average comparisons between keys: 22.9516
---- Bloom Filter Results ----
find(k): average search time: 3.45137e-07
find(k): total search time: 1.38055
find(k): number of successful queries: 2.29871e+06
find(k): number of unsuccessful queries: 1.70129e+06
insert(k): average insertion time: 3.43978e-07
insert(k): total insertion time: 1.37591
insert(k): number of elements: 4e+06
hash funcs: number of calls to hash functions: 1.6e+07
---- Hash Table Results ----
find(k): average search time: 1.17736e-06
find(k): total search time: 1.21982
find(k): number of successful queries: 1.98187e+06
find(k): number of unsuccessful queries: 2.01813e+06
insert(k): average insertion time: 1.17789e-06
insert(k): total insertion time: 3.48961
insert(k): number of elements: 3.99817e+06
rehash(): number of rehashes: 4
rehash(): average time of each rehash: 0.574768
rehash(): average time between each rehash: 0.602588
: number of calls to hash: 2.63982e+07
---- Cuckoo Results ----
find(k): average search time: 3.61268e-07
find(k): total search time: 1.44507
find(k): number of successful queries: 1.98187e+06
find(k): number of unsuccessful queries: 2.01813e+06
insert(k): average insertion time: 1.83119e-06
insert(k): total insertion time: 7.32142
insert(k): total number of bounces: 5.52047e+07
insert(k): number of elements: 3.99817e+06
rehash(): number of rehashes: 4
rehash(): average time of each rehash: 0.428158
rehash(): average time between each rehash: 1.76346
: number of calls to hash1: 5.04633e+07
: number of calls to hash2: 4.21476e+07
--- FI EXPERIMENT ---
execution 5: main dicts/dict5 queries/query5 3 1000000 50000000 0.6 1000000
Diccionari: dicts/dict5
Queries: queries/query5
---- Binary Search Results ----
find(k): comparisons between keys: 21.8355
find(k): average search time: 4.72634e-07
find(k): total search time: 2.36317
find(k): number of successful queries: 2.4777e+06
find(k): number of unsuccessful queries: 2.5223e+06
setDictionary(v): sort comparisons: 1.45456e+08
** For found elements **
find(k): average comparisons between keys: 20.3213
** For not found elements **
find(k): average comparisons between keys: 23.3228
---- Bloom Filter Results ----
find(k): average search time: 3.61611e-07
find(k): total search time: 1.80805
find(k): number of successful queries: 2.89058e+06
find(k): number of unsuccessful queries: 2.10942e+06
insert(k): average insertion time: 3.82413e-07
insert(k): total insertion time: 1.91207
insert(k): number of elements: 5e+06
hash funcs: number of calls to hash functions: 2e+07
---- Hash Table Results ----
find(k): average search time: 1.21735e-06
find(k): total search time: 1.57349
find(k): number of successful queries: 2.4777e+06
find(k): number of unsuccessful queries: 2.5223e+06
insert(k): average insertion time: 1.21806e-06
insert(k): total insertion time: 4.51324
insert(k): number of elements: 4.99706e+06
rehash(): number of rehashes: 4
rehash(): average time of each rehash: 0.749617
rehash(): average time between each rehash: 0.772065
: number of calls to hash: 3.29971e+07
---- Cuckoo Results ----
find(k): average search time: 3.63674e-07
find(k): total search time: 1.81837
find(k): number of successful queries: 2.4777e+06
find(k): number of unsuccessful queries: 2.5223e+06
insert(k): average insertion time: 3.00651e-06
insert(k): total insertion time: 15.0237
insert(k): total number of bounces: 1.33578e+08
insert(k): number of elements: 4.99706e+06
rehash(): number of rehashes: 5
rehash(): average time of each rehash: 0.667336
rehash(): average time between each rehash: 2.70108
: number of calls to hash1: 1.03588e+08
: number of calls to hash2: 8.89934e+07
--- FI EXPERIMENT ---
execution 6: main dicts/dict6 queries/query6 3 1200000 60000000 0.6 1200000
Diccionari: dicts/dict6
Queries: queries/query6
---- Binary Search Results ----
find(k): comparisons between keys: 22.1137
find(k): average search time: 4.90665e-07
find(k): total search time: 2.94399
find(k): number of successful queries: 2.97454e+06
find(k): number of unsuccessful queries: 3.02546e+06
setDictionary(v): sort comparisons: 1.73677e+08
** For found elements **
find(k): average comparisons between keys: 20.6004
** For not found elements **
find(k): average comparisons between keys: 23.6016
---- Bloom Filter Results ----
find(k): average search time: 3.59423e-07
find(k): total search time: 2.15654
find(k): number of successful queries: 3.48127e+06
find(k): number of unsuccessful queries: 2.51873e+06
insert(k): average insertion time: 3.67251e-07
insert(k): total insertion time: 2.20351
insert(k): number of elements: 6e+06
hash funcs: number of calls to hash functions: 2.4e+07
---- Hash Table Results ----
find(k): average search time: 1.2277e-06
find(k): total search time: 1.90459
find(k): number of successful queries: 2.97454e+06
find(k): number of unsuccessful queries: 3.02546e+06
insert(k): average insertion time: 1.22854e-06
insert(k): total insertion time: 5.4616
insert(k): number of elements: 5.99589e+06
rehash(): number of rehashes: 4
rehash(): average time of each rehash: 0.907317
rehash(): average time between each rehash: 0.934231
: number of calls to hash: 3.95959e+07
---- Cuckoo Results ----
find(k): average search time: 3.54938e-07
find(k): total search time: 2.12963
find(k): number of successful queries: 2.97454e+06
find(k): number of unsuccessful queries: 3.02546e+06
insert(k): average insertion time: 2.91058e-06
insert(k): total insertion time: 17.4515
insert(k): total number of bounces: 1.59082e+08
insert(k): number of elements: 5.99589e+06
rehash(): number of rehashes: 5
rehash(): average time of each rehash: 0.703754
rehash(): average time between each rehash: 3.21247
: number of calls to hash1: 1.21782e+08
: number of calls to hash2: 1.04798e+08
--- FI EXPERIMENT ---
execution 7: main dicts/dict7 queries/query7 3 1400000 70000000 0.6 1400000
Diccionari: dicts/dict7
Queries: queries/query7
---- Binary Search Results ----
find(k): comparisons between keys: 22.3127
find(k): average search time: 4.26653e-07
find(k): total search time: 2.98657
find(k): number of successful queries: 3.47174e+06
find(k): number of unsuccessful queries: 3.52826e+06
setDictionary(v): sort comparisons: 1.99676e+08
** For found elements **
find(k): average comparisons between keys: 20.7994
** For not found elements **
find(k): average comparisons between keys: 23.8018
---- Bloom Filter Results ----
find(k): average search time: 3.68899e-07
find(k): total search time: 2.5823
find(k): number of successful queries: 4.07339e+06
find(k): number of unsuccessful queries: 2.92661e+06
insert(k): average insertion time: 3.63246e-07
insert(k): total insertion time: 2.54272
insert(k): number of elements: 7e+06
hash funcs: number of calls to hash functions: 2.8e+07
---- Hash Table Results ----
find(k): average search time: 1.16463e-06
find(k): total search time: 2.13757
find(k): number of successful queries: 3.47174e+06
find(k): number of unsuccessful queries: 3.52826e+06
insert(k): average insertion time: 1.16559e-06
insert(k): total insertion time: 6.01486
insert(k): number of elements: 6.99425e+06
rehash(): number of rehashes: 4
rehash(): average time of each rehash: 1.00226
rehash(): average time between each rehash: 1.03585
: number of calls to hash: 4.61943e+07
---- Cuckoo Results ----
find(k): average search time: 3.27467e-07
find(k): total search time: 2.29227
find(k): number of successful queries: 3.47174e+06
find(k): number of unsuccessful queries: 3.52826e+06
insert(k): average insertion time: 2.75298e-06
insert(k): total insertion time: 19.255
insert(k): total number of bounces: 1.84641e+08
insert(k): number of elements: 6.99425e+06
rehash(): number of rehashes: 5
rehash(): average time of each rehash: 0.733935
rehash(): average time between each rehash: 3.57553
: number of calls to hash1: 1.39807e+08
: number of calls to hash2: 1.20509e+08
--- FI EXPERIMENT ---
execution 8: main dicts/dict8 queries/query8 3 1600000 80000000 0.6 1600000
Diccionari: dicts/dict8
Queries: queries/query8
---- Binary Search Results ----
find(k): comparisons between keys: 22.4621
find(k): average search time: 4.35187e-07
find(k): total search time: 3.4815
find(k): number of successful queries: 3.96906e+06
find(k): number of unsuccessful queries: 4.03094e+06
setDictionary(v): sort comparisons: 2.44329e+08
** For found elements **
find(k): average comparisons between keys: 20.9495
** For not found elements **
find(k): average comparisons between keys: 23.9515
---- Bloom Filter Results ----
find(k): average search time: 3.95686e-07
find(k): total search time: 3.16549
find(k): number of successful queries: 4.66246e+06
find(k): number of unsuccessful queries: 3.33754e+06
insert(k): average insertion time: 3.86428e-07
insert(k): total insertion time: 3.09143
insert(k): number of elements: 8e+06
hash funcs: number of calls to hash functions: 3.2e+07
---- Hash Table Results ----
find(k): average search time: 1.2109e-06
find(k): total search time: 2.55549
find(k): number of successful queries: 3.96906e+06
find(k): number of unsuccessful queries: 4.03094e+06
insert(k): average insertion time: 1.21202e-06
insert(k): total insertion time: 7.13169
insert(k): number of elements: 7.99258e+06
rehash(): number of rehashes: 4
rehash(): average time of each rehash: 1.19723
rehash(): average time between each rehash: 1.22457
: number of calls to hash: 5.27926e+07
---- Cuckoo Results ----
find(k): average search time: 3.49415e-07
find(k): total search time: 2.79532
find(k): number of successful queries: 3.96906e+06
find(k): number of unsuccessful queries: 4.03094e+06
insert(k): average insertion time: 2.84105e-06
insert(k): total insertion time: 22.7073
insert(k): total number of bounces: 2.10751e+08
insert(k): number of elements: 7.99258e+06
rehash(): number of rehashes: 5
rehash(): average time of each rehash: 0.826812
rehash(): average time between each rehash: 4.27372
: number of calls to hash1: 1.58139e+08
: number of calls to hash2: 1.36529e+08
--- FI EXPERIMENT ---
execution 9: main dicts/dict9 queries/query9 3 1800000 90000000 0.6 1800000
Diccionari: dicts/dict9
Queries: queries/query9
---- Binary Search Results ----
find(k): comparisons between keys: 22.6455
find(k): average search time: 4.728e-07
find(k): total search time: 4.2552
find(k): number of successful queries: 4.46621e+06
find(k): number of unsuccessful queries: 4.53379e+06
setDictionary(v): sort comparisons: 2.69192e+08
** For found elements **
find(k): average comparisons between keys: 21.1327
** For not found elements **
find(k): average comparisons between keys: 24.1358
---- Bloom Filter Results ----
find(k): average search time: 4.37106e-07
find(k): total search time: 3.93395
find(k): number of successful queries: 5.25134e+06
find(k): number of unsuccessful queries: 3.74866e+06
insert(k): average insertion time: 4.12982e-07
insert(k): total insertion time: 3.71684
insert(k): number of elements: 9e+06
hash funcs: number of calls to hash functions: 3.6e+07
---- Hash Table Results ----
find(k): average search time: 1.60236e-06
find(k): total search time: 3.75623
find(k): number of successful queries: 4.46621e+06
find(k): number of unsuccessful queries: 4.53379e+06
insert(k): average insertion time: 1.60402e-06
insert(k): total insertion time: 10.665
insert(k): number of elements: 8.99074e+06
rehash(): number of rehashes: 4
rehash(): average time of each rehash: 1.83905
rehash(): average time between each rehash: 1.76627
: number of calls to hash: 5.93907e+07