summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.fi>2001-04-12 15:46:50 +0300
committerunknown <monty@donna.mysql.fi>2001-04-12 15:46:50 +0300
commitfa30245c81d8a4412d4d10a44d84fb43cc6c6b1e (patch)
treee7fe50fd38b02c013f7aadf6c69212c7a9188740
parent658ba944f5c84b55a29908839a9e968ed311343d (diff)
downloadmariadb-git-fa30245c81d8a4412d4d10a44d84fb43cc6c6b1e.tar.gz
Added intern which functions to benchmarks
Docs/manual.texi: Update about benchmarks mysql-test/mysql-test-run.sh: Added intern which functions
-rw-r--r--Docs/manual.texi4
-rw-r--r--mysql-test/mysql-test-run.sh21
2 files changed, 25 insertions, 0 deletions
diff --git a/Docs/manual.texi b/Docs/manual.texi
index a459f17ebec..8216f9ad09a 100644
--- a/Docs/manual.texi
+++ b/Docs/manual.texi
@@ -28294,6 +28294,10 @@ slower on the same computer. (If you are connection to @code{localhost},
@strong{MySQL} will, by default, use sockets).
@item
+If you connect using TCP/IP from another computer over a 100M Ethernet,
+things will be 8-11 % slower.
+
+@item
If you compile with @code{--with-debug=full}, then you will loose 20 %
for most queries, but some queries may take substantially longer (The
@strong{MySQL} benchmarks ran 35 % slower)
diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh
index 5bb005b60de..1ee2786e2a2 100644
--- a/mysql-test/mysql-test-run.sh
+++ b/mysql-test/mysql-test-run.sh
@@ -20,6 +20,27 @@ TZ=GMT-3; export TZ # for UNIX_TIMESTAMP tests to work
PATH=/bin:/usr/bin:/usr/local/bin:/usr/bsd:/usr/X11R6/bin
+# Standard functions
+
+which ()
+{
+ DIRS=`echo $PATH | tr ":" " "`
+ for file
+ do
+ for dir in $DIRS
+ do
+ if test -f $dir/$file
+ then
+ echo "$dir/$file"
+ continue 2
+ fi
+ done
+ echo "which: no $file in ($PATH)"
+ exit 1
+ done
+}
+
+
# No paths below as we can't be sure where the program is!
BASENAME=`which basename | head -1`