for real agian
This commit is contained in:
		
							
								
								
									
										6
									
								
								main.cpp
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								main.cpp
									
									
									
									
									
								
							@@ -18,10 +18,10 @@ typedef std::unordered_map<string, string> stringmap;
 | 
			
		||||
int main() {
 | 
			
		||||
    time_point<steady_clock> start_test = steady_clock::now();
 | 
			
		||||
    // string_test(stringmap{}, 1); // process gets killed for sizes >35000
 | 
			
		||||
    int_test_aggregate(intmap{}, 1);
 | 
			
		||||
    string_test_aggregate(stringmap{}, 1);
 | 
			
		||||
    int_test_aggregate(intmap{}, 30);
 | 
			
		||||
    string_test_aggregate(stringmap{}, 30);
 | 
			
		||||
    time_point<steady_clock> end_test = steady_clock::now();
 | 
			
		||||
    std::cout << "\n\n 30 runs for all tests for 1 map: " << duration_cast<seconds>(end_test-start_test).count() << " seconds";
 | 
			
		||||
    std::cout << "\n\n 30 runs for all tests for 1 map: " << duration_cast<seconds>(end_test-start_test).count() << " seconds\n\n";
 | 
			
		||||
    
 | 
			
		||||
    // test takes 52 mins for 10 runs for one hashmap
 | 
			
		||||
    // so it'll take ~3 hours per map if we want 30 runs per test
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user