aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2006-06-27 03:25:40 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2006-06-27 03:25:40 +0000
commit578089dba034de92992b968615ea5ca3625f6aed (patch)
tree2faaa0133385dd31ae4a2d66e2e796de53142157 /libstdc++-v3
parente1c00594af0cf48634de0b79b8d98e1a265f28e6 (diff)
downloadgcc-578089dba034de92992b968615ea5ca3625f6aed.zip
gcc-578089dba034de92992b968615ea5ca3625f6aed.tar.gz
gcc-578089dba034de92992b968615ea5ca3625f6aed.tar.bz2
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
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog18
-rw-r--r--libstdc++-v3/testsuite/ext/pb_ds/regression/hash_data_map_rand.cc2
-rw-r--r--libstdc++-v3/testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc2
-rw-r--r--libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc2
-rw-r--r--libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc2
-rw-r--r--libstdc++-v3/testsuite/ext/pb_ds/regression/priority_queue_rand.cc2
-rw-r--r--libstdc++-v3/testsuite/ext/pb_ds/regression/tree_data_map_rand.cc2
-rw-r--r--libstdc++-v3/testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc2
-rw-r--r--libstdc++-v3/testsuite/ext/pb_ds/regression/trie_data_map_rand.cc2
-rw-r--r--libstdc++-v3/testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc2
-rw-r--r--libstdc++-v3/testsuite/util/regression/rand/assoc/rand_regression_test.hpp2
-rw-r--r--libstdc++-v3/testsuite/util/regression/rand/priority_queue/rand_regression_test.hpp2
12 files changed, 29 insertions, 11 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 359e79d..1cfd17d 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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<>&,
diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/hash_data_map_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/hash_data_map_rand.cc
index 06c51f5..d981483 100644
--- a/libstdc++-v3/testsuite/ext/pb_ds/regression/hash_data_map_rand.cc
+++ b/libstdc++-v3/testsuite/ext/pb_ds/regression/hash_data_map_rand.cc
@@ -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());
}
diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc
index 50bf333..76753ad 100644
--- a/libstdc++-v3/testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc
+++ b/libstdc++-v3/testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc
@@ -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());
}
diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc
index d184844..98bbf59 100644
--- a/libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc
+++ b/libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc
@@ -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());
}
diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc
index ae70c1e..90e0de0 100644
--- a/libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc
+++ b/libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc
@@ -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());
}
diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/priority_queue_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/priority_queue_rand.cc
index 6266e13..aae3971 100644
--- a/libstdc++-v3/testsuite/ext/pb_ds/regression/priority_queue_rand.cc
+++ b/libstdc++-v3/testsuite/ext/pb_ds/regression/priority_queue_rand.cc
@@ -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());
}
diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_data_map_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_data_map_rand.cc
index 4a51fac..8ffabd2 100644
--- a/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_data_map_rand.cc
+++ b/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_data_map_rand.cc
@@ -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());
}
diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc
index 4d3c8ff..57fe8dc 100644
--- a/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc
+++ b/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc
@@ -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());
}
diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/trie_data_map_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/trie_data_map_rand.cc
index e684197..fa64607 100644
--- a/libstdc++-v3/testsuite/ext/pb_ds/regression/trie_data_map_rand.cc
+++ b/libstdc++-v3/testsuite/ext/pb_ds/regression/trie_data_map_rand.cc
@@ -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());
}
diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc
index b8af58c..eec51df 100644
--- a/libstdc++-v3/testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc
+++ b/libstdc++-v3/testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc
@@ -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());
}
diff --git a/libstdc++-v3/testsuite/util/regression/rand/assoc/rand_regression_test.hpp b/libstdc++-v3/testsuite/util/regression/rand/assoc/rand_regression_test.hpp
index 6f6bafa..2a16943 100644
--- a/libstdc++-v3/testsuite/util/regression/rand/assoc/rand_regression_test.hpp
+++ b/libstdc++-v3/testsuite/util/regression/rand/assoc/rand_regression_test.hpp
@@ -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
diff --git a/libstdc++-v3/testsuite/util/regression/rand/priority_queue/rand_regression_test.hpp b/libstdc++-v3/testsuite/util/regression/rand/priority_queue/rand_regression_test.hpp
index ebd6d33..31b912f 100644
--- a/libstdc++-v3/testsuite/util/regression/rand/priority_queue/rand_regression_test.hpp
+++ b/libstdc++-v3/testsuite/util/regression/rand/priority_queue/rand_regression_test.hpp
@@ -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