mirror of
https://github.com/boostorg/mysql.git
synced 2025-05-12 14:11:41 +00:00
Added any_connection and any_address Added connection_pool and pooled_connection Added thread_safety tests Added defaults.hpp header close 19
30 lines
647 B
Bash
30 lines
647 B
Bash
#!/bin/bash
|
|
#
|
|
# Copyright (c) 2019-2023 Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
|
|
#
|
|
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
#
|
|
|
|
benchs=(
|
|
"nopool-tcp"
|
|
"nopool-tcpssl"
|
|
"nopool-unix"
|
|
"pool-tcp"
|
|
"pool-tcpssl"
|
|
"pool-unix"
|
|
)
|
|
|
|
outfile=private/benchmark-results.txt
|
|
|
|
echo "bench,ellapsed" > $outfile
|
|
|
|
for bench in ${benchs[@]}
|
|
do
|
|
echo $bench
|
|
for i in {1..10}
|
|
do
|
|
ellapsed=$(./__build/bench/boost_mysql_bench_connection_pool $bench localhost)
|
|
echo "$bench,$ellapsed" | tee -a $outfile
|
|
done
|
|
done |