ClickHouse/tests/performance
2021-05-07 16:23:46 +03:00
..
agg_functions_min_max_any.xml fix broken perf test 2021-04-19 17:05:47 +03:00
aggregate_functions_of_group_by_keys.xml
aggregating_merge_tree_simple_aggregate_function_string.xml
aggregating_merge_tree.xml
aggregation_in_order.xml
aggregation_overflow.xml Add perftest. 2021-03-18 12:38:37 +03:00
analyze_array_tuples.xml
and_function.xml
any_anyLast.xml
arithmetic_operations_in_aggr_func.xml
arithmetic.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
array_auc.xml
array_element.xml
array_fill.xml
array_index_low_cardinality_numbers.xml
array_index_low_cardinality_strings.xml
array_join.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
array_reduce.xml
async_remote_read.xml Fix error in perf test 2021-04-22 08:43:20 +03:00
avg_weighted.xml fixes 2021-04-01 14:24:56 +03:00
avg.xml
base64_hits.xml
base64.xml
basename.xml
bigint_arithm.xml
bit_operations_fixed_string_numbers.xml
bit_operations_fixed_string.xml
bitCount.xml
bloom_filter_insert.xml
bloom_filter_select.xml
bounding_ratio.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
casts.xml
cidr.xml
codec_none.xml Add performance test 2021-03-26 22:12:56 +03:00
codecs_float_insert.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
codecs_float_select.xml
codecs_int_insert.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
codecs_int_select.xml
collations.xml forgot abs() 2021-03-26 01:00:06 +03:00
column_column_comparison.xml
ColumnMap.xml make some perf test queries more stable 2021-03-29 22:43:34 +03:00
columns_hashing.xml
complex_array_creation.xml
concat_hits.xml
conditional.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
consistent_hashes.xml
constant_column_comparison.xml
constant_column_search.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
count.xml
countIf.xml
countMatches.xml
cpu_synthetic.xml
cryptographic_hashes.xml
date_parsing.xml
date_time_64.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
date_time_long.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
date_time_short.xml
datetime_comparison.xml
decimal_aggregates.xml make some perf test queries more stable 2021-03-29 22:43:34 +03:00
decimal_casts.xml
decimal_parse.xml
direct_dictionary.xml Updated dictionaries tests 2021-04-13 15:57:11 +03:00
distinct_combinator.xml
distributed_aggregation_memory_efficient.xml
distributed_aggregation.xml
duplicate_order_by_and_distinct.xml
early_constant_folding.xml
empty_string_deserialization.xml
empty_string_serialization.xml
encodeXMLComponent.xml
encrypt_decrypt_empty_string_slow.xml
encrypt_decrypt_empty_string.xml
encrypt_decrypt.xml
entropy.xml
extract.xml
fixed_string16.xml
flat_dictionary.xml Updated test 2021-04-14 16:49:38 +03:00
float_formatting.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
float_mod.xml
float_parsing.xml forgot abs() 2021-03-26 01:00:06 +03:00
format_date_time.xml
format_readable.xml
functions_coding.xml
functions_geo.xml
functions_with_hash_tables.xml
fuse_sumcount.xml Update fuse_sumcount.xml 2021-04-16 13:36:52 +03:00
fuzz_bits.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
general_purpose_hashes_on_UUID.xml
general_purpose_hashes.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
generate_table_function.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
great_circle_dist.xml more 2021-03-29 23:26:06 +03:00
group_array_moving_sum.xml
group_by_fixed_keys.xml
group_by_sundy_li.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
h3.xml
hashed_dictionary.xml Updated hashed_dictionary test 2021-04-15 13:51:40 +03:00
if_array_num.xml
if_array_string.xml make some perf test queries more stable 2021-03-29 22:43:34 +03:00
if_string_const.xml
if_string_hits.xml
if_to_multiif.xml
if_transform_strings_to_enum.xml
information_value.xml
injective_functions_inside_uniq.xml
insert_parallel.xml
insert_select_default_small_block.xml
insert_sequential_and_background_merges.xml
insert_values_with_expressions.xml
inserts_arrays_lowcardinality.xml
int_parsing.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
intDiv.xml Add perf test 2021-04-15 01:35:21 +03:00
ip_trie.xml
IPv4.xml
IPv6.xml
jit_large_requests.xml
jit_small_requests.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
joins_in_memory_pmj.xml Try fix perftest. 2021-04-08 21:27:01 +03:00
joins_in_memory.xml Merge branch 'master' into better-filter-push-down 2021-04-06 13:38:03 +03:00
json_extract_rapidjson.xml
json_extract_simdjson.xml fixes 2021-03-31 16:04:55 +03:00
least_greatest_hits.xml
leftpad.xml
linear_regression.xml
local_replica.xml
logical_functions_large.xml
logical_functions_medium.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
logical_functions_small.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
materialized_view_parallel_insert.xml
math.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
memory_cache_friendliness.xml
merge_table_streams.xml
merge_tree_huge_pk.xml
merge_tree_many_partitions_2.xml
merge_tree_many_partitions.xml
merge_tree_simple_select.xml
mingroupby-orderbylimit1.xml
mmap_io.xml Adjust perf test 2021-03-30 15:24:22 +03:00
modulo.xml Fix a rare false negative in perf tests 2021-03-02 19:21:30 +03:00
monotonous_order_by.xml
ngram_distance.xml
number_formatting_formats.xml
nyc_taxi.xml
optimize_window_funnel.xml
optimized_select_final_one_part.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
optimized_select_final.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
or_null_default.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
order_by_decimals.xml more 2021-03-29 23:26:06 +03:00
order_by_read_in_order.xml more 2021-03-29 23:26:06 +03:00
order_by_single_column.xml
order_with_limit.xml
parallel_final.xml
parallel_index.xml
parallel_insert.xml
parallel_mv.xml
parse_engine_file.xml fixes 2021-03-31 16:04:55 +03:00
point_in_polygon_const.xml
point_in_polygon.xml fix 2021-04-05 13:03:29 +03:00
polymorphic_parts_l.xml
polymorphic_parts_m.xml
polymorphic_parts_s.xml
pre_limit_no_sorting.xml
prewhere_with_row_level_filter.xml Update prewhere_with_row_level_filter.xml 2021-03-09 11:15:03 +03:00
prewhere.xml
push_down_limit.xml
quantile_merge.xml
questdb_sum_float32.xml
questdb_sum_float64.xml
questdb_sum_int32.xml make some perf test queries more stable 2021-03-29 22:43:34 +03:00
rand.xml
random_fixed_string.xml
random_printable_ascii.xml
random_string_utf8.xml
random_string.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
range.xml
read_from_comp_parts.xml
read_hits_with_aio.xml
read_in_order_many_parts.xml
README.md
redundant_functions_in_order_by.xml
reinterpret_as.xml Revert "optimize aggfunc column data copy (#19407)" 2021-02-21 12:49:50 +03:00
removing_group_by_keys.xml
rewrite_sumIf.xml
right.xml
round_down.xml
round_methods.xml
scalar.xml
select_format.xml
set_hits.xml
set_index.xml fix perf test 2021-05-07 16:23:46 +03:00
set.xml
simple_join_query.xml
single_fixed_string_groupby.xml
slices_hits.xml
sort_radix_trivial.xml
sort.xml
split_filter.xml
string_join.xml
string_set.xml
string_sort.xml
subqueries.xml
sum_map.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
sum.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
sumIf.xml
synthetic_hardware_benchmark.xml forgot abs() 2021-03-26 01:00:06 +03:00
trim_numbers.xml
trim_urls.xml
trim_whitespace.xml
uniq.xml
url_hits.xml adjust perf test thresholds 2021-03-26 00:00:18 +03:00
vectorize_aggregation_combinators.xml
visit_param_extract_raw.xml forgot abs() 2021-03-26 01:00:06 +03:00
website.xml
window_functions.xml use camelCase 2021-03-25 18:49:45 +03:00

ClickHouse performance tests

This directory contains .xml-files with performance tests for @akuzm tool.

How to write performance test

First of all you should check existing tests don't cover your case. If there are no such tests than you should write your own.

You have to specify preconditions. It contains table names. Only hits_100m_single, hits_10m_single, test.hits are available in CI.

You can use substitions, create, fill and drop queries to prepare test. You can find examples in this folder.

Take into account, that these tests will run in CI which consists of 56-cores and 512 RAM machines. Queries will be executed much faster than on local laptop.

If your test continued more than 10 minutes, please, add tag long to have an opportunity to run all tests and skip long ones.

How to run performance test

TODO @akuzm

How to validate single test

pip3 install clickhouse_driver
../../docker/test/performance-comparison/perf.py --runs 1 insert_parallel.xml