Commit ab06236c authored by Hakan Kuecuekyilmaz's avatar Hakan Kuecuekyilmaz

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.
parent 75f33632
......@@ -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";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment