Skip to content

Commit

Permalink
Make HashMapTest be less aggressive by default
Browse files Browse the repository at this point in the history
  • Loading branch information
fwojcik committed Dec 2, 2023
1 parent 48b92a4 commit 2b35dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/HashMapTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ static bool HashMapImpl( const HashInfo * hinfo, std::vector<std::string> words,
//-----------------------------------------------------------------------------

bool HashMapTest( const HashInfo * hinfo, const bool verbose, const bool extra ) {
const int trials = (hinfo->isVerySlow() && !extra) ? 5 : 50;
const int trials = (hinfo->isVerySlow() || !extra) ? 5 : 50;
bool result = true;

printf("[[[ 'Hashmap' Speed Tests ]]]\n\n");
Expand Down

0 comments on commit 2b35dcb

Please sign in to comment.