mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-05 16:15:41 -06:00
committed by
GitHub
parent
3c9c6a3529
commit
cb74ef57da
@@ -17,7 +17,7 @@ actorPrefix="$7"
|
||||
format="$8"
|
||||
issueNumber="$9"
|
||||
|
||||
readTests="('oltp_read_only', 'oltp_point_select', 'select_random_points', 'select_random_ranges', 'covering_index_scan', 'index_scan', 'table_scan')"
|
||||
readTests="('oltp_read_only', 'oltp_point_select', 'select_random_points', 'select_random_ranges', 'covering_index_scan', 'index_scan', 'table_scan', 'groupby_scan')"
|
||||
medianLatencyChangeReadsQuery="select f.test_name as read_tests, case when avg(f.latency_percentile) < 0.001 then 0.001 else avg(f.latency_percentile) end as from_latency_median, case when avg(t.latency_percentile) < 0.001 then 0.001 else avg(t.latency_percentile) end as to_latency_median, case when ((avg(t.latency_percentile) - avg(f.latency_percentile)) / (avg(f.latency_percentile) + .0000001)) < -0.1 then 1 when ((avg(t.latency_percentile) - avg(f.latency_percentile)) / (avg(f.latency_percentile) + .0000001)) > 0.1 then -1 else 0 end as is_faster from from_results as f join to_results as t on f.test_name = t.test_name where f.test_name in $readTests group by f.test_name;"
|
||||
|
||||
writeTests="('oltp_read_write', 'oltp_update_index', 'oltp_update_non_index', 'oltp_insert', 'bulk_insert', 'oltp_write_only', 'oltp_delete')"
|
||||
|
||||
@@ -7,7 +7,7 @@ if [[ $# -ne 1 ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
validcommentors="coffeegoddd andrew-wm-arthur bheni Hydrocharged katiemcculloch oscarbatori reltuk tbantle22 timsehn VinaiRachakonda zachmu"
|
||||
validcommentors="coffeegoddd andrew-wm-arthur bheni Hydrocharged reltuk tbantle22 timsehn VinaiRachakonda zachmu max-hoffman"
|
||||
|
||||
contains() {
|
||||
[[ $1 =~ (^|[[:space:]])$2($|[[:space:]]) ]] && echo "::set-output name=valid::true" || exit 0
|
||||
|
||||
24
benchmark/perf_tools/sysbench_scripts/lua/groupby_scan.lua
Normal file
24
benchmark/perf_tools/sysbench_scripts/lua/groupby_scan.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
require("dolt_common")
|
||||
|
||||
dolt_prepare = prepare
|
||||
|
||||
function prepare()
|
||||
sysbench.opt.threads = 1
|
||||
dolt_prepare()
|
||||
end
|
||||
|
||||
function thread_init()
|
||||
drv = sysbench.sql.driver()
|
||||
con = drv:connect()
|
||||
|
||||
stmt = con:prepare('SELECT year_col, count(year_col), max(big_int_col), avg(small_int_col) FROM sbtest1 WHERE big_int_col > 0 GROUP BY set_col ORDER BY year_col')
|
||||
end
|
||||
|
||||
function thread_done()
|
||||
stmt:close()
|
||||
con:disconnect()
|
||||
end
|
||||
|
||||
function event()
|
||||
stmt:execute()
|
||||
end
|
||||
Reference in New Issue
Block a user