ClickHouse/tests/performance
Alexey Milovidov 6e0dab71ed
Merge pull request #46188 from bigo-sg/rewrite_array_exists
Rewrite array exists to has
2023-02-12 05:53:22 +03: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
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
arrow_format.xml Fix performance test 2022-08-15 11:41:03 +00:00
asof.xml
async_remote_read.xml Update async_remote_read.xml 2022-11-28 14:00:49 +01:00
avg_weighted.xml Implement batch processing for aggregate functions with multiple nullable arguments (#41058) 2022-09-15 23:51:38 +02:00
avg.xml
base64_hits.xml
base64.xml
basename.xml
bigint_arithm.xml
bit_operations_fixed_string_numbers.xml
bit_operations_fixed_string.xml
bitmap_array_element.xml Update bitmap_array_element.xml 2022-10-03 14:56:34 +02:00
bloom_filter_insert.xml
bloom_filter_select.xml
bounding_ratio.xml
casts.xml
cidr.xml
classification.xml
codec_none.xml
codecs_float_insert.xml added fpc codec to float perftest 2022-05-26 22:32:56 +03:00
codecs_float_select.xml Small follow-up for FPC codec 2022-06-15 14:21:28 +02:00
codecs_int_insert.xml Deprecate Gorilla compression of non-float columns 2023-01-20 17:31:16 +00:00
codecs_int_select.xml Deprecate Gorilla compression of non-float columns 2023-01-20 17:31:16 +00:00
collations.xml
column_array_filter.xml Update tests/performance/column_array_filter.xml 2023-02-04 18:49:13 +08:00
column_array_replicate.xml add performance tests 2023-02-02 20:16:16 +08:00
ColumnMap.xml
columns_hashing.xml
complex_array_creation.xml
concat_hits.xml
conditional.xml optimize function coalesce with two arguments 2022-05-30 22:29:35 +00:00
consistent_hashes.xml
constant_column_comparison.xml
constant_column_search.xml
count.xml
countDigits.xml Add performance test 2023-02-09 04:52:33 +01:00
countIf.xml
countMatches.xml
cpu_synthetic.xml
cryptographic_hashes.xml Print nicer exception if BLAKE3 is unavailable 2022-10-05 00:11:41 +03:00
date_parsing.xml
date_time_64.xml
date_time_long.xml Various test, code and docs fixups 2023-01-15 13:47:34 +00:00
date_time_short.xml Various test, code and docs fixups 2023-01-15 13:47:34 +00:00
datetime64_conversion.xml Add a test 2023-02-08 02:17:23 +01:00
datetime_comparison.xml
decimal_aggregates.xml
decimal_casts.xml Whitespace 2023-02-08 03:38:23 +01:00
decimal_format.xml
decimal_parse.xml
destroy_aggregate_states.xml impl 2022-06-04 19:14:38 +00:00
dict_join.xml
direct_dictionary.xml tests/perf: fix dependency check during DROP 2022-12-16 15:15:15 +01:00
distinct_combinator.xml
distinct_in_order.xml Polishing 2023-02-05 13:38:20 +00:00
distributed_aggregation_memory_efficient.xml
distributed_aggregation.xml
duplicate_order_by_and_distinct.xml optimize_sorting_for_input_stream setting and perf tests 2022-07-19 16:58:15 +00:00
empty_string_deserialization.xml
empty_string_serialization.xml
encodeXMLComponent.xml
encrypt_decrypt_empty_string_slow.xml
encrypt_decrypt_empty_string.xml Remove trash 2022-06-22 06:23:35 +02:00
encrypt_decrypt.xml Remove trash 2022-06-22 06:23:35 +02:00
entropy.xml
explain_ast.xml Make explain_ast even larger 2022-10-14 14:06:44 +02:00
extract.xml
file_table_function.xml
fixed_string16.xml
flat_dictionary.xml tests/perf: fix dependency check during DROP 2022-12-16 15:15:15 +01:00
float_formatting.xml
float_mod.xml
float_parsing.xml
format_date_time.xml
format_readable.xml
formats_columns_sampling.xml Fix performance test 2022-05-23 17:42:13 +00:00
function_calculation_after_sorting_and_limit.xml
functions_coding.xml
functions_geo.xml
functions_with_hash_tables.xml
fuse_sumcount.xml
fuzz_bits.xml
general_purpose_hashes_on_UUID.xml
general_purpose_hashes.xml Add xxh3 hash function (#43411) 2022-11-26 00:14:08 +01:00
generate_table_function.xml
grace_hash_join.xml Small fixes 2022-11-25 12:04:12 +00:00
great_circle_dist.xml Improve performance of geo distance functions 2022-05-25 14:22:22 +02:00
group_array_moving_sum.xml
group_by_fixed_keys.xml Prefetching in aggregation (#39304) 2022-09-21 18:59:07 +02:00
group_by_sundy_li.xml
h3.xml
has_all.xml
hash_table_sizes_stats_small.xml Apply preallocation optimisation more carefully (#44455) 2023-01-09 13:30:48 +01:00
hash_table_sizes_stats.xml fix (#41648) 2022-09-21 19:04:03 +02:00
hashed_array_dictionary.xml tests/perf: fix dependency check during DROP 2022-12-16 15:15:15 +01:00
hashed_dictionary_sharded.xml tests/performance: do not use scientific notation in hashed_dictionary_sharded 2023-01-13 13:39:26 +01:00
hashed_dictionary.xml tests/perf: fix dependency check during DROP 2022-12-16 15:15:15 +01:00
hierarchical_dictionaries.xml Add ability to load hashed dictionaries using multiple threads 2023-01-13 13:39:25 +01: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
IPv4.xml
IPv6.xml
jit_aggregate_functions.xml
jit_large_requests.xml
jit_small_requests.xml
jit_sort.xml Fixed tests 2022-05-11 21:59:51 +02:00
join_append_block.xml Fix significant join performance regression 2022-06-14 21:14:18 +08:00
join_max_streams.xml
join_set_filter.xml remove new setting from join_set_filter.xml 2022-08-29 09:49:13 +00:00
joins_in_memory.xml
json_extract_rapidjson.xml
json_extract_simdjson.xml
json_type.xml minor fixes 2022-06-28 14:21:21 +00:00
least_greatest_hits.xml
leftpad.xml
lightweight_delete.xml Cleanups 2022-07-24 12:21:18 +02:00
line_as_string_parsing.xml Support parallel parsing for LineAsString input format 2022-10-28 21:56:09 +00:00
linear_regression.xml
local_replica.xml
logical_functions_large.xml
logical_functions_medium.xml
logical_functions_small.xml
lot_of_subcolumns.xml
low_cardinality_argument.xml Update tests/performance/low_cardinality_argument.xml 2022-07-15 18:24:44 +02:00
low_cardinality_from_json.xml Added reverted files and fixes for failing fuzzer tests 2022-10-28 12:37:59 +02:00
low_cardinality_query.xml Add perftest: low_cardinality_query 2022-11-08 17:19:18 +08:00
lower_upper_utf8.xml tests: add perf test for lowerUTF8()/upperUTF8() 2022-09-17 11:16:45 +02:00
lz4_hits_columns.xml Skip empty literals in lz4 decompression (#40142) 2022-09-06 13:58:26 +02:00
lz4.xml Skip empty literals in lz4 decompression (#40142) 2022-09-06 13:58:26 +02:00
map_populate_series.xml
materialized_view_parallel_insert.xml
math.xml
memory_bound_merging.xml Parallel replicas. Part [2] (#43772) 2023-02-03 14:34:18 +01:00
memory_cache_friendliness.xml
merge_table_streams.xml fix tests 2022-06-23 21:19:07 +02:00
merge_tree_huge_pk.xml
merge_tree_insert.xml
merge_tree_many_partitions_2.xml
merge_tree_many_partitions.xml
merge_tree_simple_select.xml
mingroupby-orderbylimit1.xml
mmap_io.xml
modulo.xml
monotonous_order_by.xml
ngram_distance.xml
nlp.xml
norm_distance_float.xml Perf test for norm/distance with long arrays of floats 2022-07-03 08:01:49 +02:00
norm_distance.xml Use same norm and distance function names for tuples and arrays 2022-05-25 22:39:59 +02:00
normalize_utf8.xml Normalize UTF8 performance test fix 2022-06-09 15:35:53 +02:00
number_formatting_formats.xml
optimize_sorting_for_input_stream.xml rename and fix perf test 2022-07-19 21:21:39 +00:00
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 Tests 2022-07-06 22:27:53 +00:00
order_by_single_column.xml
order_by_tuple.xml Fix: remove heeavy performance tests, introduced within this PR 2022-07-07 07:57:05 +00:00
order_with_limit.xml
parallel_final.xml deprecate old MergeTree syntax 2022-06-23 11:24:54 +02:00
parallel_index.xml
parallel_insert.xml
parallel_mv.xml tests/performance: improve parallel_mv test 2022-07-18 16:23:17 +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
position_empty_needle.xml change as request 2023-01-30 16:13:12 +08:00
pre_limit_no_sorting.xml
prefetch_in_aggregation.xml Prefetching in aggregation (#39304) 2022-09-21 18:59:07 +02:00
prewhere_with_row_level_filter.xml
prewhere.xml
push_down_limit.xml
quantile_merge.xml
quantile.xml
queries_over_aggregation.xml more parallelism 2022-08-16 18:56:22 +02:00
query_interpretation_join.xml Add benchmark for query interpretation with JOINs 2022-11-23 13:15:35 +01:00
rand.xml Add function canonicalRand (#43124) 2022-11-15 00:27:19 +01:00
random_fixed_string.xml
random_printable_ascii.xml
random_string_utf8.xml
random_string.xml
range_hashed_dictionary.xml tests/perf: fix dependency check during DROP 2022-12-16 15:15:15 +01:00
range.xml
re2_regex_caching.xml Try to fix performance test results 2022-06-01 11:53:37 +02:00
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
removing_group_by_keys.xml
rewrite_array_exists.xml add perf test 2023-02-09 12:30:50 +08:00
rewrite_sumIf.xml
right.xml
round_down.xml
round_methods.xml
scalar2.xml deprecate old MergeTree syntax 2022-06-23 11:24:54 +02:00
scalar.xml
schema_inference_text_formats.xml Refactor and improve schema inference for text formats 2022-12-07 21:19:27 +00:00
select_format.xml
sequence_match.xml
set_hits.xml
set_index.xml
set.xml
short_circuit_functions.xml
simple_join_query.xml
single_fixed_string_groupby.xml fix (#41648) 2022-09-21 19:04:03 +02:00
slices_hits.xml
sort_radix_trivial.xml
sort.xml Enable query_plan_remove_redundant_sorting optimization by default 2023-01-24 13:38:21 +00:00
sparse_column.xml add perf test 2022-05-28 12:56:38 +00:00
split_filter.xml
string_join.xml
string_set.xml
string_sort.xml
string_to_int.xml
subqueries.xml
sum_map.xml
sum.xml
sumIf.xml
synthetic_hardware_benchmark.xml fix (#41648) 2022-09-21 19:04:03 +02:00
trim_numbers.xml
trim_urls.xml
trim_whitespace.xml
tsv_csv_nullable_parsing.xml
unary_arithmetic_functions.xml Dynamic dispatch infrastructure style fixes 2022-05-24 14:25:29 +02:00
unary_logical_functions.xml UnaryLogicalFunctions improve performance using dynamic dispatch 2022-06-14 17:30:11 +02:00
uniq_stored.xml impl 2022-09-16 15:41:15 +02:00
uniq_without_key.xml Optimize merge of uniqExact without_key (#43072) 2022-11-17 13:19:02 +01:00
uniq.xml
url_hits.xml Add tests and doc for some url-related functions 2022-10-26 10:52:57 +00:00
vectorize_aggregation_combinators.xml
views_max_insert_threads.xml Fix max_insert_threads while pushing to views 2022-07-03 15:14:05 +03:00
visit_param_extract_raw.xml
website.xml fix (#41648) 2022-09-21 19:04:03 +02:00
window_functions.xml
writing_valid_utf8.xml

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 can use substitions, create, fill and drop queries to prepare test. You can find examples in this folder.

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 scipy
../../docker/test/performance-comparison/perf.py --runs 1 insert_parallel.xml