mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-04 18:31:22 +08:00
trie_no_data_map_rand.cc: Reduce iterations by half.
2006-06-26 Benjamin Kosnik <bkoz@redhat.com> * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Reduce iterations by half. * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same. * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same. * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same. * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same. * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same. * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same. * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same. * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same. * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Set probability of compare from 1 to 0.25. * testsuite/util/regression/rand/priority_queue/ rand_regression_test.hpp: Same. From-SVN: r115032
This commit is contained in:
parent
e1c00594af
commit
578089dba0
@ -1,3 +1,21 @@
|
||||
2006-06-26 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
* testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc:
|
||||
Reduce iterations by half.
|
||||
* testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
|
||||
* testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
|
||||
* testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
|
||||
* testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
|
||||
* testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
|
||||
* testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
|
||||
* testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
|
||||
* testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
|
||||
|
||||
* testsuite/util/regression/rand/assoc/rand_regression_test.hpp:
|
||||
Set probability of compare from 1 to 0.25.
|
||||
* testsuite/util/regression/rand/priority_queue/
|
||||
rand_regression_test.hpp: Same.
|
||||
|
||||
2006-06-25 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* include/tr1/random (operator<<(std::basic_ostream<>&,
|
||||
|
@ -54,7 +54,7 @@ main(int argc, char* a_p_argv[])
|
||||
using namespace pb_ds::test;
|
||||
typedef hash_map_tl_t map_tl_t;
|
||||
|
||||
return rand_regression_test(10000, 10000,
|
||||
return rand_regression_test(5000, 10000,
|
||||
"hash_data_map_rand_regression_test",
|
||||
map_tl_t());
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ main(int argc, char* a_p_argv[])
|
||||
using namespace pb_ds::test;
|
||||
typedef hash_set_tl_t map_tl_t;
|
||||
|
||||
return rand_regression_test(10000, 10000,
|
||||
return rand_regression_test(5000, 10000,
|
||||
"hash_no_data_map_rand_regression_test",
|
||||
map_tl_t());
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ main(int argc, char* a_p_argv[])
|
||||
using namespace pb_ds::test;
|
||||
typedef lu_map_tl_t map_tl_t;
|
||||
|
||||
return rand_regression_test(100, 10,
|
||||
return rand_regression_test(50, 10,
|
||||
"lu_data_map_rand_regression_test",
|
||||
map_tl_t());
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ main(int argc, char* a_p_argv[])
|
||||
using namespace pb_ds::test;
|
||||
typedef lu_set_tl_t map_tl_t;
|
||||
|
||||
return rand_regression_test(100, 10,
|
||||
return rand_regression_test(50, 10,
|
||||
"lu_no_data_map_rand_regression_test",
|
||||
map_tl_t());
|
||||
}
|
||||
|
@ -52,7 +52,7 @@ int
|
||||
main(int argc, char* a_p_argv[])
|
||||
{
|
||||
using namespace pb_ds::test;
|
||||
return rand_regression_test(10000, 10000,
|
||||
return rand_regression_test(5000, 10000,
|
||||
"tree_no_data_map_rand_regression_test",
|
||||
pq_tl_t());
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ main(int argc, char* a_p_argv[])
|
||||
using namespace pb_ds::test;
|
||||
typedef tree_map_tl_t map_tl_t;
|
||||
|
||||
return rand_regression_test(10000, 10000,
|
||||
return rand_regression_test(5000, 10000,
|
||||
"tree_data_map_rand_regression_test",
|
||||
map_tl_t());
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ main(int argc, char* a_p_argv[])
|
||||
using namespace pb_ds::test;
|
||||
typedef tree_set_tl_t map_tl_t;
|
||||
|
||||
return rand_regression_test(10000, 10000,
|
||||
return rand_regression_test(5000, 10000,
|
||||
"tree_no_data_map_rand_regression_test",
|
||||
map_tl_t());
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ main(int argc, char* a_p_argv[])
|
||||
using namespace pb_ds::test;
|
||||
typedef trie_map_tl_t map_tl_t;
|
||||
|
||||
return rand_regression_test(10000, 10000,
|
||||
return rand_regression_test(5000, 10000,
|
||||
"trie_data_map_rand_regression_test",
|
||||
map_tl_t());
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ main(int argc, char* a_p_argv[])
|
||||
using namespace pb_ds::test;
|
||||
typedef trie_set_tl_t map_tl_t;
|
||||
|
||||
return rand_regression_test(10000, 10000,
|
||||
return rand_regression_test(5000, 10000,
|
||||
"trie_no_data_map_rand_regression_test",
|
||||
map_tl_t());
|
||||
}
|
||||
|
@ -113,7 +113,7 @@ namespace detail
|
||||
double ip = 0.6;
|
||||
double ep = 0.2;
|
||||
double cp = 0.001;
|
||||
double mp = 1;
|
||||
double mp = 0.25;
|
||||
bool disp = false; // show progress
|
||||
|
||||
try
|
||||
|
@ -115,7 +115,7 @@ namespace detail
|
||||
double dp = 0.1;
|
||||
double ep = 0.2;
|
||||
double cp = 0.001;
|
||||
double mp = 1;
|
||||
double mp = 0.25;
|
||||
bool disp = false; // show progress
|
||||
|
||||
try
|
||||
|
Loading…
x
Reference in New Issue
Block a user