Skip to content

Commit

Permalink
Add benchmark for HashTable::listJoinResults (facebookincubator#9172)
Browse files Browse the repository at this point in the history
Summary:
Add the benchmark to measure the time taken by `HashTable::listJoinResults`
function. In this benchmark, we generate different build keys reprititon
distributions to measure the time variation of `HashTable::listJoinResults`.
This benchmark measures separately the build time and the time taken by
`HashTable::listJoinResults`, optionally including the row erase time.

Pull Request resolved: facebookincubator#9172

Reviewed By: pedroerp

Differential Revision: D56246838

Pulled By: Yuhta

fbshipit-source-id: 442e7f9ed144c510b318cb44750aacf58aa18fd5
  • Loading branch information
zhli1142015 authored and facebook-github-bot committed Apr 17, 2024
1 parent 720787a commit a830ffb
Show file tree
Hide file tree
Showing 2 changed files with 556 additions and 0 deletions.
7 changes: 7 additions & 0 deletions velox/exec/benchmarks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ add_executable(velox_hash_benchmark HashTableBenchmark.cpp)
target_link_libraries(velox_hash_benchmark velox_exec velox_exec_test_lib
velox_vector_test_lib ${FOLLY_BENCHMARK})

add_executable(velox_hash_join_list_result_benchmark
HashJoinListResultBenchmark.cpp)

target_link_libraries(
velox_hash_join_list_result_benchmark velox_exec velox_exec_test_lib
velox_vector_test_lib ${FOLLY_BENCHMARK})

if(${VELOX_ENABLE_PARQUET})
add_executable(velox_sort_benchmark RowContainerSortBenchmark.cpp)

Expand Down
Loading

0 comments on commit a830ffb

Please sign in to comment.