diff --git a/main.cpp b/main.cpp index 2a580f4..0972f2d 100644 --- a/main.cpp +++ b/main.cpp @@ -2,7 +2,7 @@ #include #include #include -#include +// #include #include "./src/includes/aggregate_tests.h" diff --git a/results.csv b/results.csv index fcc08f2..e69de29 100644 --- a/results.csv +++ b/results.csv @@ -1,33 +0,0 @@ - -int_insert, 'std::unordered_map', 554, 591, 503, 498, 512, 526, 560, 564, 580 -int_succ_lookup, 'std::unordered_map', 435, 292, 312, 334, 354, 362, 383, 398, 413 -int_nosucc_lookup, 'std::unordered_map', 1571, 1800, 2700, 3538, 4559, 567, 6292, 596, 606 -int_delete, 'std::unordered_map', 428, 415, 461, 500, 510, 557, 561, 605, 615 -int_insert, 'std::unordered_map', 629, 459, 527, 498, 562, 541, 558, 557, 557 -int_succ_lookup, 'std::unordered_map', 404, 288, 342, 336, 357, 376, 396, 388, 392 -int_nosucc_lookup, 'std::unordered_map', 1608, 2003, 2863, 3699, 4624, 576, 6560, 586, 599 -int_delete, 'std::unordered_map', 532, 482, 479, 538, 519, 588, 587, 582, 591 -int_insert, 'std::unordered_map, std::__cxx11::basic_string >', 636, 644, 667, 728, 737, 727, 752, 750, 749 -int_succ_lookup, 'std::unordered_map, std::__cxx11::basic_string >', 432, 457, 472, 504, 506, 505, 537, 530, 519 -int_nosucc_lookup, 'std::unordered_map, std::__cxx11::basic_string >', 1139, 1675, 2395, 2933, 3777, 650, 4953, 660, 661 -int_delete, 'std::unordered_map, std::__cxx11::basic_string >', 762, 616, 648, 697, 693, 699, 736, 715, 713 -int_insert, 'std::unordered_map, std::__cxx11::basic_string >', 706, 696, 865, 841, 689, 687, 716, 709, 721 -int_succ_lookup, 'std::unordered_map, std::__cxx11::basic_string >', 582, 485, 799, 685, 495, 500, 537, 534, 518 -int_nosucc_lookup, 'std::unordered_map, std::__cxx11::basic_string >', 1124, 1752, 3944, 3627, 3532, 601, 5333, 620, 628 -int_delete, 'std::unordered_map, std::__cxx11::basic_string >', 672, 632, 1036, 797, 691, 691, 819, 727, 722 -int_insert, 'std::unordered_map', 138, 358, 194, 221, 228, 236, 257, 263, 262 -int_succ_lookup, 'std::unordered_map', 65, 202, 94, 107, 135, 114, 121, 120, 122 -int_nosucc_lookup, 'std::unordered_map', 358, 1158, 1226, 1606, 2330, 250, 2889, 306, 263 -int_delete, 'std::unordered_map', 166, 304, 229, 263, 282, 290, 310, 330, 328 -int_insert, 'std::unordered_map', 87, 240, 248, 218, 228, 241, 259, 254, 264 -int_succ_lookup, 'std::unordered_map', 37, 196, 101, 107, 114, 137, 136, 125, 124 -int_nosucc_lookup, 'std::unordered_map', 233, 885, 1243, 1595, 2097, 241, 4238, 265, 267 -int_delete, 'std::unordered_map', 95, 228, 256, 270, 287, 310, 571, 303, 351 -int_insert, 'std::unordered_map, std::__cxx11::basic_string >', 591, 534, 307, 370, 382, 382, 399, 405, 409 -int_succ_lookup, 'std::unordered_map, std::__cxx11::basic_string >', 189, 225, 264, 285, 287, 291, 302, 301, 308 -int_nosucc_lookup, 'std::unordered_map, std::__cxx11::basic_string >', 568, 2173, 1793, 2297, 2845, 376, 3789, 388, 384 -int_delete, 'std::unordered_map, std::__cxx11::basic_string >', 243, 828, 342, 365, 373, 375, 388, 386, 394 -int_insert, 'std::unordered_map, std::__cxx11::basic_string >', 350, 290, 296, 501, 942, 349, 340, 346, 355 -int_succ_lookup, 'std::unordered_map, std::__cxx11::basic_string >', 180, 237, 249, 385, 476, 289, 283, 288, 291 -int_nosucc_lookup, 'std::unordered_map, std::__cxx11::basic_string >', 665, 1202, 1745, 3419, 4709, 321, 3521, 332, 350 -int_delete, 'std::unordered_map, std::__cxx11::basic_string >', 246, 310, 322, 457, 1076, 353, 371, 373, 386 \ No newline at end of file diff --git a/src/includes/tests.h b/src/includes/tests.h index 1c26765..c028dab 100644 --- a/src/includes/tests.h +++ b/src/includes/tests.h @@ -8,7 +8,7 @@ #include // maps -#include +// #include // own #include "./generator.h" @@ -29,10 +29,10 @@ void prepare(std::unordered_map& map,int size){ return; } -void prepare(google::sparse_hash_map& map, int size){ - map.set_deleted_key(0); - return; -} +// void prepare(google::sparse_hash_map& map, int size){ +// map.set_deleted_key(0); +// return; +// } template vector int_test(T testmap, int size){