ClickHouse/tests/performance
2022-01-19 10:41:58 +00:00
..
agg_functions_min_max_any.xml
aggregate_functions_of_group_by_keys.xml
aggregating_merge_tree_simple_aggregate_function_string.xml
aggregating_merge_tree.xml
aggregation_in_order_2.xml better perf test 2021-10-19 17:13:52 +03:00
aggregation_in_order.xml
aggregation_overflow.xml
analyze_array_tuples.xml
and_function.xml
any_anyLast.xml
arithmetic_operations_in_aggr_func.xml
arithmetic.xml
array_auc.xml
array_element.xml
array_fill.xml
array_index_low_cardinality_numbers.xml
array_index_low_cardinality_strings.xml
array_join.xml
array_reduce.xml
async_remote_read.xml
avg_weighted.xml
avg.xml Needs more data in avg tests 2021-11-29 19:50:03 +01:00
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
casts.xml
cidr.xml
codec_none.xml Update perf test (non-significant) 2021-08-28 00:32:21 +03:00
codecs_float_insert.xml
codecs_float_select.xml
codecs_int_insert.xml
codecs_int_select.xml
collations.xml
ColumnMap.xml
columns_hashing.xml
complex_array_creation.xml
concat_hits.xml
conditional.xml
consistent_hashes.xml
constant_column_comparison.xml
constant_column_search.xml
count.xml Make count performance tests longer 2021-11-26 09:06:37 +01:00
countIf.xml Implement AggregateFunctionCountNotNullUnary::addBatchSinglePlace 2021-11-25 16:41:48 +01:00
countMatches.xml
cpu_synthetic.xml
cryptographic_hashes.xml
date_parsing.xml
date_time_64.xml
date_time_long.xml
date_time_short.xml
datetime_comparison.xml
decimal_aggregates.xml
decimal_casts.xml
decimal_format.xml Add performance test 2021-08-17 09:11:35 +03:00
decimal_parse.xml
dict_join.xml
direct_dictionary.xml
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
explain_ast.xml Add perf test 2021-11-29 13:09:53 +01:00
extract.xml
fixed_string16.xml
flat_dictionary.xml Added performance tests 2021-10-23 15:01:30 +03:00
float_formatting.xml
float_mod.xml
float_parsing.xml
format_date_time.xml
format_readable.xml
functions_coding.xml
functions_geo.xml
functions_with_hash_tables.xml
fuse_sumcount.xml Some extra perf tests around sumCount 2021-11-24 11:14:31 +01:00
fuzz_bits.xml
general_purpose_hashes_on_UUID.xml
general_purpose_hashes.xml
generate_table_function.xml
great_circle_dist.xml
group_array_moving_sum.xml
group_by_fixed_keys.xml
group_by_sundy_li.xml
h3.xml
hashed_array_dictionary.xml HashedDictionaries added read performance tests 2021-10-25 20:12:29 +03:00
hashed_dictionary.xml HashedDictionaries added read performance tests 2021-10-25 20:12:29 +03:00
if_array_num.xml
if_array_string.xml
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
intDiv.xml
ip_trie.xml fix tests 2021-11-03 18:06:19 +03:00
IPv4.xml
IPv6.xml
jit_aggregate_functions.xml
jit_large_requests.xml
jit_small_requests.xml
join_max_streams.xml
joins_in_memory_pmj.xml
joins_in_memory.xml
json_extract_rapidjson.xml
json_extract_simdjson.xml Adjust perf test 2021-10-24 00:11:28 +03:00
least_greatest_hits.xml
leftpad.xml
linear_regression.xml
local_replica.xml
logical_functions_large.xml
logical_functions_medium.xml
logical_functions_small.xml
lot_of_subcolumns.xml
materialized_view_parallel_insert.xml
math.xml
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 Minor fix in perf test 2021-08-30 00:18:38 +03:00
modulo.xml
monotonous_order_by.xml
ngram_distance.xml
nlp.xml
normalize_utf8.xml Add nfd and perf test 2021-09-28 13:42:37 +03:00
number_formatting_formats.xml
optimize_window_funnel.xml
optimized_select_final_one_part.xml
optimized_select_final.xml
or_null_default.xml
order_by_decimals.xml
order_by_read_in_order.xml
order_by_single_column.xml
order_with_limit.xml
parallel_final.xml
parallel_index.xml
parallel_insert.xml
parallel_mv.xml Disable merges for parallel_mv 2021-10-02 11:54:47 +03:00
parse_engine_file.xml
point_in_polygon_const.xml
point_in_polygon.xml
polymorphic_parts_l.xml
polymorphic_parts_m.xml
polymorphic_parts_s.xml
pre_limit_no_sorting.xml
prewhere_with_row_level_filter.xml
prewhere.xml
push_down_limit.xml
quantile_merge.xml
quantile.xml
questdb_sum_float32.xml
questdb_sum_float64.xml
questdb_sum_int32.xml Trying to have smaller test 2021-11-24 14:13:59 +03:00
rand.xml
random_fixed_string.xml
random_printable_ascii.xml
random_string_utf8.xml
random_string.xml
range_hashed_dictionary.xml Fix performance tests 2022-01-19 10:41:58 +00:00
range.xml
read_from_comp_parts.xml
read_hits_with_aio.xml
read_in_order_many_parts.xml Update read_in_order_many_parts.xml 2021-10-23 18:08:08 +03:00
README.md
redundant_functions_in_order_by.xml
reinterpret_as.xml Fix perf test 2021-12-12 04:31:56 +03:00
removing_group_by_keys.xml
rewrite_sumIf.xml
right.xml
round_down.xml
round_methods.xml
scalar.xml
select_format.xml
sequence_match.xml Changing the tests to use mainly test.hits dataset, as hits_10[0]m_single datasets have a slightly different schema 2021-08-27 10:14:17 +02:00
set_hits.xml
set_index.xml Change perf set_index test to check build index 2021-12-23 13:53:36 +01:00
set.xml
short_circuit_functions.xml Update tests 2021-08-13 14:55:33 +03:00
simple_join_query.xml
single_fixed_string_groupby.xml
slices_hits.xml
sort_radix_trivial.xml
sort.xml
sparse_column.xml
split_filter.xml
string_join.xml
string_set.xml
string_sort.xml
string_to_int.xml
subqueries.xml
sum_map.xml perf: add missing DROP TABLE queries 2021-11-03 08:26:52 +03:00
sum.xml Adjust performance test 2021-09-21 22:19:13 +03:00
sumIf.xml
synthetic_hardware_benchmark.xml
trim_numbers.xml
trim_urls.xml
trim_whitespace.xml
tsv_csv_nullable_parsing.xml Add performance test 2021-10-27 17:29:36 +03:00
uniq.xml Remove unrelated change 2021-08-09 17:54:14 +03:00
url_hits.xml
vectorize_aggregation_combinators.xml
visit_param_extract_raw.xml
website.xml
window_functions.xml
writing_valid_utf8.xml Add perf test for writing valid UTF8 2021-11-24 15:37:02 +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