mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 18:42:26 +00:00
performance comparison
This commit is contained in:
parent
8c383f240a
commit
0353a55e3d
@ -39,7 +39,6 @@ function download
|
|||||||
wait
|
wait
|
||||||
|
|
||||||
}
|
}
|
||||||
download
|
|
||||||
|
|
||||||
function configure
|
function configure
|
||||||
{
|
{
|
||||||
@ -83,7 +82,6 @@ EOF
|
|||||||
left/clickhouse client --port 9001 --query "create database test" ||:
|
left/clickhouse client --port 9001 --query "create database test" ||:
|
||||||
left/clickhouse client --port 9001 --query "rename table datasets.hits_v1 to test.hits" ||:
|
left/clickhouse client --port 9001 --query "rename table datasets.hits_v1 to test.hits" ||:
|
||||||
}
|
}
|
||||||
configure
|
|
||||||
|
|
||||||
function restart
|
function restart
|
||||||
{
|
{
|
||||||
@ -119,7 +117,6 @@ function restart
|
|||||||
left/clickhouse client --port 9001 --query "select * from system.tables where database != 'system'"
|
left/clickhouse client --port 9001 --query "select * from system.tables where database != 'system'"
|
||||||
right/clickhouse client --port 9002 --query "select * from system.tables where database != 'system'"
|
right/clickhouse client --port 9002 --query "select * from system.tables where database != 'system'"
|
||||||
}
|
}
|
||||||
restart
|
|
||||||
|
|
||||||
function run_tests
|
function run_tests
|
||||||
{
|
{
|
||||||
@ -145,7 +142,6 @@ function run_tests
|
|||||||
right/clickhouse local --file "$test_name-queries.tsv" --structure 'query text, run int, version UInt32, time float' --query "$(cat $script_dir/eqmed.sql)" > "$test_name-report.tsv"
|
right/clickhouse local --file "$test_name-queries.tsv" --structure 'query text, run int, version UInt32, time float' --query "$(cat $script_dir/eqmed.sql)" > "$test_name-report.tsv"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
run_tests
|
|
||||||
|
|
||||||
# Analyze results
|
# Analyze results
|
||||||
function report
|
function report
|
||||||
@ -198,4 +194,17 @@ grep Exception:[^:] *-err.log > run-errors.log
|
|||||||
|
|
||||||
$script_dir/report.py > report.html
|
$script_dir/report.py > report.html
|
||||||
}
|
}
|
||||||
report
|
|
||||||
|
case "$stage" in
|
||||||
|
"")
|
||||||
|
;&
|
||||||
|
"download")
|
||||||
|
download
|
||||||
|
configure
|
||||||
|
restart
|
||||||
|
run_tests
|
||||||
|
;&
|
||||||
|
"report")
|
||||||
|
report
|
||||||
|
;&
|
||||||
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user