forked from MassiveAtoms/hashmap-bench
20 lines
504 B
C++
20 lines
504 B
C++
#include <iostream>
|
|
#include <unordered_map>
|
|
#include <functional>
|
|
#include <fstream>
|
|
|
|
#include "./src/includes/aggregate_tests.h"
|
|
|
|
|
|
|
|
|
|
// typedef std::unordered_map<int,int> map;
|
|
// we can use ^ to switch the map implementations to that
|
|
// we can add some cli handling so we can specify which maps to tests (or all)
|
|
int main() {
|
|
string_test(std::unordered_map<std::string, std::string>{}, 10);
|
|
int_test(std::unordered_map<int, int>{}, 10);
|
|
|
|
// test takes 52 mins for 10 runs for 1 dict
|
|
}
|