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
cef4e0a6
Commit
cef4e0a6
authored
Dec 11, 2014
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
relax the time constraints on the bulk fetch tests
parent
e149ab9d
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
25 additions
and
26 deletions
+25
-26
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_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
+3
-4
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
+3
-3
No files found.
mysql-test/suite/tokudb/t/bf_create_select.test
View file @
cef4e0a6
...
...
@@ -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
twice that wh
ith bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >=
2
* $time_elapsed_on`
;
# Check that the time with bulk fetch off is at least
1.5 times that w
ith bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >=
1.5
* $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
twice that wh
ith bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >=
2
* $time_elapsed_on`
;
# Check that the time with bulk fetch off is at least
1.5 times that w
ith bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >=
1.5
* $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_range_part.test
View file @
cef4e0a6
...
...
@@ -72,8 +72,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that bulk fetch on is at least
2
times faster than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >=
2
* $time_elapsed_on`
;
# 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`
;
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
2
times faster than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >=
2
* $time_elapsed_on`
;
# 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`
;
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 @
cef4e0a6
...
...
@@ -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
twice that wh
ith bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >=
2
* $time_elapsed_on`
;
# Check that the time with bulk fetch off is at least
1.5 times that w
ith bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >=
1.5
* $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
twice that wh
ith bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >=
2
* $time_elapsed_on`
;
# Check that the time with bulk fetch off is at least
1.5 times that w
ith bulk fetch on
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >=
1.5
* $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 @
cef4e0a6
# Verify that index scans for delete statements use bulk fetch and are
# at least twice as fast
# Verify that index scans for delete statements use bulk fetch are faster than when not using bulk fetch
source
include
/
have_tokudb
.
inc
;
source
include
/
big_test
.
inc
;
...
...
@@ -62,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
2
times faster than with bulk fetch OFF
let
$verdict
=
`select $time_elapsed_bf_on > 0 && $time_elapsed_bf_off >=
2
* $time_elapsed_bf_on`
;
# verify that a delete scan with bulk fetch ON is at least
1.5
times faster than with bulk fetch OFF
let
$verdict
=
`select $time_elapsed_bf_on > 0 && $time_elapsed_bf_off >=
1.5
* $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 @
cef4e0a6
...
...
@@ -66,8 +66,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that bulk fetch on is at least
2
times faster than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >=
2
* $time_elapsed_on`
;
# 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`
;
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 >=
2
* $time_elapsed_on`
;
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >=
1.5
* $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 @
cef4e0a6
...
...
@@ -70,8 +70,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that bulk fetch on is at least
2
times faster than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >=
2
* $time_elapsed_on`
;
# 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`
;
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
2
times faster than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >=
2
* $time_elapsed_on`
;
# 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`
;
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 @
cef4e0a6
...
...
@@ -66,8 +66,8 @@ while ($i < $maxq) {
}
let
$time_elapsed_off
=
`select unix_timestamp() - $s`
;
# check that bulk fetch on is at least
2
times faster than bulk fetch off
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >=
2
* $time_elapsed_on`
;
# 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`
;
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 >=
2
* $time_elapsed_on`
;
let
$verdict
=
`select $time_elapsed_on > 0 && $time_elapsed_off >=
1.5
* $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
;
}
...
...
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