mirror of
https://github.com/MariaDB/server.git
synced 2026-04-20 07:15:33 +02:00
Increased loop counts of sql-bench tests to get run times around
5 minutes on current machines. Tested on a Xeon machine and a new dual core laptop.
This commit is contained in:
parent
6e7241caa5
commit
84e1866181
7 changed files with 8 additions and 8 deletions
|
|
@ -28,7 +28,7 @@ use Cwd;
|
|||
use DBI;
|
||||
use Benchmark;
|
||||
|
||||
$opt_loop_count=100; # Run selects this many times
|
||||
$opt_loop_count=5000; # Run selects this many times
|
||||
|
||||
$pwd = cwd(); $pwd = "." if ($pwd eq '');
|
||||
require "$pwd/bench-init.pl" || die "Can't read Configuration file: $!\n";
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ use DBI;
|
|||
use Benchmark;
|
||||
|
||||
$opt_start_field_count=8; # start with this many fields
|
||||
$opt_loop_count=100; # How many tests to do
|
||||
$opt_loop_count=10000; # How many tests to do
|
||||
$opt_row_count=1000; # Rows in the table
|
||||
$opt_field_count=1000; # Add until this many fields.
|
||||
$opt_time_limit=10*60; # Don't wait more than 10 min for some tests
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ use Cwd;
|
|||
use DBI;
|
||||
use Benchmark;
|
||||
|
||||
$opt_loop_count=1000; # Change this to make test harder/easier
|
||||
$opt_loop_count=70000; # Change this to make test harder/easier
|
||||
$opt_field_count=1000;
|
||||
|
||||
$pwd = cwd(); $pwd = "." if ($pwd eq '');
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ use Cwd;
|
|||
use DBI;
|
||||
use Benchmark;
|
||||
|
||||
$opt_loop_count=100000; # Change this to make test harder/easier
|
||||
$opt_loop_count=500000; # Change this to make test harder/easier
|
||||
$str_length=65000; # This is the length of blob strings in PART:5
|
||||
$max_test=20; # How many times to test if the server is busy
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ use Getopt::Long;
|
|||
use Benchmark;
|
||||
|
||||
$opt_loop_count=10000;
|
||||
$opt_medium_loop_count=1000;
|
||||
$opt_medium_loop_count=7000;
|
||||
$opt_small_loop_count=10;
|
||||
$opt_regions=6;
|
||||
$opt_groups=100;
|
||||
|
|
|
|||
|
|
@ -28,8 +28,8 @@ use Benchmark;
|
|||
|
||||
$opt_groups=27; # Characters are 'A' -> Z
|
||||
|
||||
$opt_loop_count=10000; # Change this to make test harder/easier
|
||||
$opt_medium_loop_count=100; # Change this to make test harder/easier
|
||||
$opt_loop_count=500000; # Change this to make test harder/easier
|
||||
$opt_medium_loop_count=10000; # Change this to make test harder/easier
|
||||
|
||||
$pwd = cwd(); $pwd = "." if ($pwd eq '');
|
||||
require "$pwd/bench-init.pl" || die "Can't read Configuration file: $!\n";
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ use Cwd;
|
|||
use DBI;
|
||||
use Benchmark;
|
||||
|
||||
$opt_loop_count=10;
|
||||
$opt_loop_count=5000;
|
||||
|
||||
$pwd = cwd(); $pwd = "." if ($pwd eq '');
|
||||
require "$pwd/bench-init.pl" || die "Can't read Configuration file: $!\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue