Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
f6d2798f
Commit
f6d2798f
authored
Dec 12, 2014
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
relax the time constraints on the bulk fetch tests again
parent
cef4e0a6
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
37 additions
and
36 deletions
+37
-36
mysql-test/suite/tokudb/t/bf_create_select.test
mysql-test/suite/tokudb/t/bf_create_select.test
+4
-4
mysql-test/suite/tokudb/t/bf_create_select_hash_part.test
mysql-test/suite/tokudb/t/bf_create_select_hash_part.test
+4
-4
mysql-test/suite/tokudb/t/bf_create_select_range_part.test
mysql-test/suite/tokudb/t/bf_create_select_range_part.test
+4
-4
mysql-test/suite/tokudb/t/bf_create_temp_select.test
mysql-test/suite/tokudb/t/bf_create_temp_select.test
+4
-4
mysql-test/suite/tokudb/t/bf_delete.test
mysql-test/suite/tokudb/t/bf_delete.test
+2
-2
mysql-test/suite/tokudb/t/bf_insert_select.test
mysql-test/suite/tokudb/t/bf_insert_select.test
+3
-3
mysql-test/suite/tokudb/t/bf_insert_select_dup_key.test
mysql-test/suite/tokudb/t/bf_insert_select_dup_key.test
+4
-4
mysql-test/suite/tokudb/t/bf_replace_select.test
mysql-test/suite/tokudb/t/bf_replace_select.test
+4
-3
mysql-test/suite/tokudb/t/bf_select_hash_part.test
mysql-test/suite/tokudb/t/bf_select_hash_part.test
+4
-4
mysql-test/suite/tokudb/t/bf_select_range_part.test
mysql-test/suite/tokudb/t/bf_select_range_part.test
+4
-4
No files found.
mysql-test/suite/tokudb/t/bf_create_select.test
View file @
f6d2798f
...
...
@@ -65,8 +65,8 @@ while ($i < $maxq) {
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# Check that the time with bulk fetch off is
at least 1.5 times
that with bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 1.5 *
$time_elapsed_on`
;
# Check that the time with bulk fetch off is
greater
that with bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
index
$verdict
$time_elapsed_on
$time_elapsed_off
;
}
if
(
!
$verdict
)
{
echo
index
$time_elapsed_on
$time_elapsed_off
;
}
...
...
@@ -94,8 +94,8 @@ while ($i < $maxq) {
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# Check that the time with bulk fetch off is
at least 1.5 times
that with bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 1.5 *
$time_elapsed_on`
;
# Check that the time with bulk fetch off is
greater
that with bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_elapsed_on
$time_elapsed_off
;
}
if
(
!
$verdict
)
{
echo
range
$time_elapsed_on
$time_elapsed_off
;
}
...
...
mysql-test/suite/tokudb/t/bf_create_select_hash_part.test
View file @
f6d2798f
...
...
@@ -65,8 +65,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that bulk fetch on is
at least 1.5 times fas
ter than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 1.5 *
$time_elapsed_on`
;
# check that bulk fetch on is
grea
ter than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
index
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
index
$time_elapsed_off
$time_elapsed_on
;
}
...
...
@@ -93,8 +93,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that bulk fetch on is
at least 1.5 times fas
ter than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 1.5 *
$time_elapsed_on`
;
# check that bulk fetch on is
grea
ter than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
range
$time_elapsed_off
$time_elapsed_on
;
}
...
...
mysql-test/suite/tokudb/t/bf_create_select_range_part.test
View file @
f6d2798f
...
...
@@ -72,8 +72,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that bulk fetch on is
at least 1.5 times fas
ter than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 1.5 *
$time_elapsed_on`
;
# check that bulk fetch on is
grea
ter than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
index
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
index
$time_elapsed_off
$time_elapsed_on
;
}
...
...
@@ -100,8 +100,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that bulk fetch on is
at least 1.5 times fas
ter than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 1.5 *
$time_elapsed_on`
;
# check that bulk fetch on is
grea
ter than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
range
$time_elapsed_off
$time_elapsed_on
;
}
...
...
mysql-test/suite/tokudb/t/bf_create_temp_select.test
View file @
f6d2798f
...
...
@@ -65,8 +65,8 @@ while ($i < $maxq) {
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# Check that the time with bulk fetch off is
at least 1.5 times
that with bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 1.5 *
$time_elapsed_on`
;
# Check that the time with bulk fetch off is
greater
that with bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
index
$verdict
$time_elapsed_on
$time_elapsed_off
;
}
if
(
!
$verdict
)
{
echo
index
$time_elapsed_on
$time_elapsed_off
;
}
...
...
@@ -94,8 +94,8 @@ while ($i < $maxq) {
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# Check that the time with bulk fetch off is
at least 1.5 times that
with bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 1.5 *
$time_elapsed_on`
;
# Check that the time with bulk fetch off is
greater than
with bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_elapsed_on
$time_elapsed_off
;
}
if
(
!
$verdict
)
{
echo
range
$time_elapsed_on
$time_elapsed_off
;
}
...
...
mysql-test/suite/tokudb/t/bf_delete.test
View file @
f6d2798f
...
...
@@ -61,8 +61,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_bf_off
=
`select unix_timestamp() - $s`
;
# verify that a delete scan with bulk fetch ON is
at least 1.5 times fas
ter than with bulk fetch OFF
let
$verdict
=
`select $time_elapsed_bf_on > 0 && $time_elapsed_bf_off >
= 1.5 *
$time_elapsed_bf_on`
;
# verify that a delete scan with bulk fetch ON is
grea
ter than with bulk fetch OFF
let
$verdict
=
`select $time_elapsed_bf_on > 0 && $time_elapsed_bf_off > $time_elapsed_bf_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_elapsed_bf_on
$time_elapsed_bf_off
;
}
if
(
!
$verdict
)
{
echo
range
$time_elapsed_bf_on
$time_elapsed_bf_off
;
}
...
...
mysql-test/suite/tokudb/t/bf_insert_select.test
View file @
f6d2798f
...
...
@@ -66,8 +66,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that
bulk fetch on is at least 1.5 times faster than
bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 1.5 *
$time_elapsed_on`
;
# check that
the time with bulk fetch on is greater than with
bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
index
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
index
$time_elapsed_off
$time_elapsed_on
;
}
...
...
@@ -92,7 +92,7 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 1.5 *
$time_elapsed_on`
;
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
range
$time_elapsed_off
$time_elapsed_on
;
}
...
...
mysql-test/suite/tokudb/t/bf_insert_select_dup_key.test
View file @
f6d2798f
...
...
@@ -70,8 +70,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that bulk fetch on is
at least 1.5 times faster than
bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 1.5 *
$time_elapsed_on`
;
# check that bulk fetch on is
greater than with
bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
index
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
index
$time_elapsed_off
$time_elapsed_on
;
}
...
...
@@ -96,8 +96,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that bulk fetch on is
at least 1.5 times fas
ter than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 1.5 *
$time_elapsed_on`
;
# check that bulk fetch on is
grea
ter than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
range
$time_elapsed_off
$time_elapsed_on
;
}
...
...
mysql-test/suite/tokudb/t/bf_replace_select.test
View file @
f6d2798f
...
...
@@ -66,8 +66,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that
bulk fetch on is at least 1.5 times faster than
bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >
= 1.5 *
$time_elapsed_on`
;
# check that
the time with bulk fetch on is greater than with
bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
index
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
index
$time_elapsed_off
$time_elapsed_on
;
}
...
...
@@ -92,7 +92,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >= 1.5 * $time_elapsed_on`
;
# check that the time with bulk fetch on is greater than with bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off > $time_elapsed_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_elapsed_off
$time_elapsed_on
;
}
if
(
!
$verdict
)
{
echo
range
$time_elapsed_off
$time_elapsed_on
;
}
...
...
mysql-test/suite/tokudb/t/bf_select_hash_part.test
View file @
f6d2798f
...
...
@@ -65,8 +65,8 @@ let $time_bf_off = `select unix_timestamp() - $s`;
if
(
$debug
)
{
echo
index
scans
took
$time_bf_off
.
;
}
# check that the scan time with bulk fetch off is
at least 1.5 times as long as
with bulk fetch on
let
$verdict
=
`select $time_bf_on > 0 && $time_bf_off >
= 1.5 *
$time_bf_on`
;
# check that the scan time with bulk fetch off is
greater than
with bulk fetch on
let
$verdict
=
`select $time_bf_on > 0 && $time_bf_off > $time_bf_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
index
$verdict
$time_bf_on
$time_bf_off
;
}
if
(
!
$verdict
)
{
echo
index
$time_bf_on
$time_bf_off
;
}
...
...
@@ -93,8 +93,8 @@ let $time_bf_off = `select unix_timestamp() - $s`;
if
(
$debug
)
{
echo
range
scans
took
$time_bf_off
.
;
}
# check that the scan time with bulk fetch off is
at least 1.5 times as long as
with bulk fetch on
let
$verdict
=
`select $time_bf_on > 0 && $time_bf_off >
= 1.5 *
$time_bf_on`
;
# check that the scan time with bulk fetch off is
greater than
with bulk fetch on
let
$verdict
=
`select $time_bf_on > 0 && $time_bf_off > $time_bf_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_bf_on
$time_bf_off
;
}
if
(
!
$verdict
)
{
echo
range
$time_bf_on
$time_bf_off
;
}
...
...
mysql-test/suite/tokudb/t/bf_select_range_part.test
View file @
f6d2798f
...
...
@@ -70,8 +70,8 @@ while ($i < $maxq) {
}
let
$time_bf_off
=
`select unix_timestamp() - $s`
;
# check that the scan time with bulk fetch off is
at least 1.5 times as long as
with bulk fetch on
let
$verdict
=
`select $time_bf_on > 0 && $time_bf_off >
= 1.5 *
$time_bf_on`
;
# check that the scan time with bulk fetch off is
greater than
with bulk fetch on
let
$verdict
=
`select $time_bf_on > 0 && $time_bf_off > $time_bf_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
index
$verdict
$time_bf_on
$time_bf_off
;
}
if
(
!
$verdict
)
{
echo
index
scan
$time_bf_on
$time_bf_off
;
}
...
...
@@ -94,8 +94,8 @@ while ($i < $maxq) {
}
let
$time_bf_off
=
`select unix_timestamp() - $s`
;
# check that the scan time with bulk fetch off is
at least 1.5 times as long as
with bulk fetch on
let
$verdict
=
`select $time_bf_on > 0 && $time_bf_off >
= 1.5 *
$time_bf_on`
;
# check that the scan time with bulk fetch off is
greater than
with bulk fetch on
let
$verdict
=
`select $time_bf_on > 0 && $time_bf_off > $time_bf_on`
;
echo
$verdict
;
if
(
$debug
)
{
echo
range
$verdict
$time_bf_on
$time_bf_off
;
}
if
(
!
$verdict
)
{
echo
range
$time_bf_on
$time_bf_off
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment