mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Added intern which functions to benchmarks
Docs/manual.texi: Update about benchmarks mysql-test/mysql-test-run.sh: Added intern which functions
This commit is contained in:
@ -28293,6 +28293,10 @@ If you connect using TCP/IP rather than Unix sockets, the result is 7.5%
|
|||||||
slower on the same computer. (If you are connection to @code{localhost},
|
slower on the same computer. (If you are connection to @code{localhost},
|
||||||
@strong{MySQL} will, by default, use sockets).
|
@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
|
@item
|
||||||
If you compile with @code{--with-debug=full}, then you will loose 20 %
|
If you compile with @code{--with-debug=full}, then you will loose 20 %
|
||||||
for most queries, but some queries may take substantially longer (The
|
for most queries, but some queries may take substantially longer (The
|
||||||
|
@ -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
|
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!
|
# No paths below as we can't be sure where the program is!
|
||||||
|
|
||||||
BASENAME=`which basename | head -1`
|
BASENAME=`which basename | head -1`
|
||||||
|
Reference in New Issue
Block a user