@@ -, +, @@ --- misc/load_testing/benchmark_staff.pl | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) --- a/misc/load_testing/benchmark_staff.pl +++ a/misc/load_testing/benchmark_staff.pl @@ -42,10 +42,10 @@ my $short_psec="|-\n|ON\n"; if ($help || !$baseurl || !$user || !$password) { print <execute; my ($title,$author); my @searchwords; while (($title,$author)=$sth->fetchrow) { - push @searchwords,split / /, $author; - push @searchwords,split / /, $title; + push @searchwords,split / /, $author//''; + push @searchwords,split / /, $title//''; } $sth = $dbh->prepare("select max(itemnumber) from items"); @@ -139,7 +139,7 @@ unless ($short_print) { print "--------------\n"; print "Koha STAFF benchmarking utility\n"; print "--------------\n"; - print "Benchmarking with $max_tries occurences of each operation and $concurrency concurrent sessions \n"; + print "Benchmarking with $max_tries occurrences of each operation and $concurrency concurrent sessions \n"; } # # the global benchmark we do at the end... --