Skip to content

Commit

Permalink
rename publication targets
Browse files Browse the repository at this point in the history
  • Loading branch information
azimafroozeh committed Sep 28, 2024
1 parent 46cd1f2 commit eab5d9e
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 64 deletions.
32 changes: 16 additions & 16 deletions publication/master_script/master_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,22 +53,22 @@ fi
"$TARGET_DIR/build/publication/source_code/generated/x86_64/avx512bw_intrinsic_uf1/x86_64_avx512bw_intrinsic_1024_uf1_falp_bench"

# rest
"$TARGET_DIR/build/publication/source_code/bench_compression_ratio/bench_alp_compression_ratio"
"$TARGET_DIR/build/publication/source_code/bench_compression_ratio/bench_alp32_compression_ratio"
"$TARGET_DIR/build/publication/source_code/bench_compression_ratio/bench_zstd_compression_ratio"
"$TARGET_DIR/build/publication/source_code/bench_compression_ratio/bench_chimp_compression_ratio"
"$TARGET_DIR/build/publication/source_code/bench_compression_ratio/bench_chimp128_compression_ratio"
"$TARGET_DIR/build/publication/source_code/bench_compression_ratio/bench_gorillas_compression_ratio"
"$TARGET_DIR/build/publication/source_code/bench_compression_ratio/bench_patas_compression_ratio"
"$TARGET_DIR/build/publication/source_code/bench_speed/bench_alp_cutter_decode"
"$TARGET_DIR/build/publication/source_code/bench_speed/bench_alp_cutter_encode"
"$TARGET_DIR/build/publication/source_code/bench_speed/bench_alp_encode"
"$TARGET_DIR/build/publication/source_code/bench_speed/bench_alp_without_sampling"
"$TARGET_DIR/build/publication/source_code/bench_speed/bench_chimp"
"$TARGET_DIR/build/publication/source_code/bench_speed/bench_chimp128"
"$TARGET_DIR/build/publication/source_code/bench_speed/bench_gorillas"
"$TARGET_DIR/build/publication/source_code/bench_speed/bench_patas"
"$TARGET_DIR/build/publication/source_code/bench_speed/bench_zstd"
"$TARGET_DIR/build/publication/source_code/bench_compression_ratio/publication_bench_alp_compression_ratio"
"$TARGET_DIR/build/publication/source_code/bench_compression_ratio/publication_bench_alp32_compression_ratio"
"$TARGET_DIR/build/publication/source_code/bench_compression_ratio/publication_bench_zstd_compression_ratio"
"$TARGET_DIR/build/publication/source_code/bench_compression_ratio/publication_bench_chimp_compression_ratio"
"$TARGET_DIR/build/publication/source_code/bench_compression_ratio/publication_bench_chimp128_compression_ratio"
"$TARGET_DIR/build/publication/source_code/bench_compression_ratio/publication_bench_gorillas_compression_ratio"
"$TARGET_DIR/build/publication/source_code/bench_compression_ratio/publication_bench_patas_compression_ratio"
"$TARGET_DIR/build/publication/source_code/bench_speed/publication_bench_alp_cutter_decode"
"$TARGET_DIR/build/publication/source_code/bench_speed/publication_bench_alp_cutter_encode"
"$TARGET_DIR/build/publication/source_code/bench_speed/publication_bench_alp_encode"
"$TARGET_DIR/build/publication/source_code/bench_speed/publication_bench_alp_without_sampling"
"$TARGET_DIR/build/publication/source_code/bench_speed/publication_bench_chimp"
"$TARGET_DIR/build/publication/source_code/bench_speed/publication_bench_chimp128"
"$TARGET_DIR/build/publication/source_code/bench_speed/publication_bench_gorillas"
"$TARGET_DIR/build/publication/source_code/bench_speed/publication_bench_patas"
"$TARGET_DIR/build/publication/source_code/bench_speed/publication_bench_zstd"

# end to end
"$TARGET_DIR/build/publication/source_code/bench_end_to_end/run_alp"
Expand Down
42 changes: 21 additions & 21 deletions publication/source_code/bench_compression_ratio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,36 @@ if (NOT DEFINED ENV{ALP_DATASET_DIR_PATH})
message(WARNING "You must set ALP_DATASET_DIR_PATH environment variable")
endif ()

add_executable(bench_alp_compression_ratio bench_alp_compression_ratio.cpp)
target_link_libraries(bench_alp_compression_ratio PUBLIC ALP gtest_main)
gtest_discover_tests(bench_alp_compression_ratio)
add_executable(publication_bench_alp_compression_ratio bench_alp_compression_ratio.cpp)
target_link_libraries(publication_bench_alp_compression_ratio PUBLIC ALP gtest_main)
gtest_discover_tests(publication_bench_alp_compression_ratio)

# Test ALP32 on ML Data: ----------------------------------------------------------------------------------------------------------
add_executable(bench_alp32_compression_ratio alp32.cpp)
target_link_libraries(bench_alp32_compression_ratio PUBLIC ALP gtest_main)
gtest_discover_tests(bench_alp32_compression_ratio)
add_executable(publication_bench_alp32_compression_ratio alp32.cpp)
target_link_libraries(publication_bench_alp32_compression_ratio PUBLIC ALP gtest_main)
gtest_discover_tests(publication_bench_alp32_compression_ratio)

# Test ZSTD: ----------------------------------------------------------------------------------------------------------
add_executable(bench_zstd_compression_ratio zstd.cpp)
target_link_libraries(bench_zstd_compression_ratio PRIVATE gtest_main libzstd)
gtest_discover_tests(bench_zstd_compression_ratio)
add_executable(publication_bench_zstd_compression_ratio zstd.cpp)
target_link_libraries(publication_bench_zstd_compression_ratio PRIVATE gtest_main libzstd)
gtest_discover_tests(publication_bench_zstd_compression_ratio)

# Test Chimp: ----------------------------------------------------------------------------------------------------------
add_executable(bench_chimp_compression_ratio chimp.cpp)
target_link_libraries(bench_chimp_compression_ratio PRIVATE gtest_main)
gtest_discover_tests(bench_chimp_compression_ratio)
add_executable(publication_bench_chimp_compression_ratio chimp.cpp)
target_link_libraries(publication_bench_chimp_compression_ratio PRIVATE gtest_main)
gtest_discover_tests(publication_bench_chimp_compression_ratio)

# Test Chimp128: ----------------------------------------------------------------------------------------------------------
add_executable(bench_chimp128_compression_ratio chimp128.cpp)
target_link_libraries(bench_chimp128_compression_ratio PRIVATE gtest_main)
gtest_discover_tests(bench_chimp128_compression_ratio)
add_executable(publication_bench_chimp128_compression_ratio chimp128.cpp)
target_link_libraries(publication_bench_chimp128_compression_ratio PRIVATE gtest_main)
gtest_discover_tests(publication_bench_chimp128_compression_ratio)

# Test Gorillas: ----------------------------------------------------------------------------------------------------------
add_executable(bench_gorillas_compression_ratio gorillas.cpp)
target_link_libraries(bench_gorillas_compression_ratio PRIVATE gtest_main)
gtest_discover_tests(bench_gorillas_compression_ratio)
add_executable(publication_bench_gorillas_compression_ratio gorillas.cpp)
target_link_libraries(publication_bench_gorillas_compression_ratio PRIVATE gtest_main)
gtest_discover_tests(publication_bench_gorillas_compression_ratio)

# Test Patas: ----------------------------------------------------------------------------------------------------------
add_executable(bench_patas_compression_ratio patas.cpp)
target_link_libraries(bench_patas_compression_ratio PRIVATE gtest_main)
gtest_discover_tests(bench_patas_compression_ratio)
add_executable(publication_bench_patas_compression_ratio patas.cpp)
target_link_libraries(publication_bench_patas_compression_ratio PRIVATE gtest_main)
gtest_discover_tests(publication_bench_patas_compression_ratio)
54 changes: 27 additions & 27 deletions publication/source_code/bench_speed/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
# Bench ALP --------------------------------------------------------------------------------------------------------
configure_file(${CMAKE_SOURCE_DIR}/benchmarks/fls_bench/fls_bench.hpp ${CMAKE_CURRENT_BINARY_DIR}/bench_alp.hpp)
add_executable(bench_alp_encode bench_alp_encode.cpp)
target_include_directories(bench_alp_encode PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
target_include_directories(bench_alp_encode PRIVATE ${CMAKE_SOURCE_DIR}/include)
target_link_libraries(bench_alp_encode PRIVATE ALP)
add_executable(publication_bench_alp_encode bench_alp_encode.cpp)
target_include_directories(publication_bench_alp_encode PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
target_include_directories(publication_bench_alp_encode PRIVATE ${CMAKE_SOURCE_DIR}/include)
target_link_libraries(publication_bench_alp_encode PRIVATE ALP)

# Bench ALP CUTTER ENCODE ----------------------------------------------------------------------------------------------
configure_file(${CMAKE_SOURCE_DIR}/benchmarks/fls_bench/fls_bench.hpp ${CMAKE_CURRENT_BINARY_DIR}/bench_alp.hpp)
add_executable(bench_alp_cutter_encode bench_alp_cutter_encode.cpp)
target_include_directories(bench_alp_cutter_encode PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
target_include_directories(bench_alp_cutter_encode PRIVATE ${CMAKE_SOURCE_DIR}/include)
target_link_libraries(bench_alp_cutter_encode PRIVATE ALP)
add_executable(publication_bench_alp_cutter_encode bench_alp_cutter_encode.cpp)
target_include_directories(publication_bench_alp_cutter_encode PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
target_include_directories(publication_bench_alp_cutter_encode PRIVATE ${CMAKE_SOURCE_DIR}/include)
target_link_libraries(publication_bench_alp_cutter_encode PRIVATE ALP)

# Bench ALP CUTTER DECODE ----------------------------------------------------------------------------------------------
configure_file(${CMAKE_SOURCE_DIR}/benchmarks/fls_bench/fls_bench.hpp ${CMAKE_CURRENT_BINARY_DIR}/bench_alp.hpp)
add_executable(bench_alp_cutter_decode bench_alp_cutter_decode.cpp)
target_include_directories(bench_alp_cutter_decode PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
target_include_directories(bench_alp_cutter_decode PRIVATE ${CMAKE_SOURCE_DIR}/include)
target_link_libraries(bench_alp_cutter_decode PRIVATE ALP)
add_executable(publication_bench_alp_cutter_decode bench_alp_cutter_decode.cpp)
target_include_directories(publication_bench_alp_cutter_decode PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
target_include_directories(publication_bench_alp_cutter_decode PRIVATE ${CMAKE_SOURCE_DIR}/include)
target_link_libraries(publication_bench_alp_cutter_decode PRIVATE ALP)

# Bench ALP without SAMPLING --------------------------------------------------------------------------------------------------------
configure_file(${CMAKE_SOURCE_DIR}/benchmarks/fls_bench/fls_bench.hpp ${CMAKE_CURRENT_BINARY_DIR}/bench_alp_tmp.hpp)
add_executable(bench_alp_without_sampling bench_alp_without_sampling.cpp)
target_include_directories(bench_alp_without_sampling PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
target_include_directories(bench_alp_without_sampling PRIVATE ${CMAKE_SOURCE_DIR}/include)
target_link_libraries(bench_alp_without_sampling PRIVATE ALP)
add_executable(publication_bench_alp_without_sampling bench_alp_without_sampling.cpp)
target_include_directories(publication_bench_alp_without_sampling PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
target_include_directories(publication_bench_alp_without_sampling PRIVATE ${CMAKE_SOURCE_DIR}/include)
target_link_libraries(publication_bench_alp_without_sampling PRIVATE ALP)

# Bench PATAS ----------------------------------------------------------------------------------------------------------
configure_file(${CMAKE_SOURCE_DIR}/benchmarks/fls_bench/fls_bench.hpp ${CMAKE_CURRENT_BINARY_DIR}/bench_patas.hpp)
add_executable(bench_patas bench_patas.cpp)
target_include_directories(bench_patas PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
add_executable(publication_bench_patas bench_patas.cpp)
target_include_directories(publication_bench_patas PRIVATE ${CMAKE_CURRENT_BINARY_DIR})

# Bench CHIMP128 -------------------------------------------------------------------------------------------------------
configure_file(${CMAKE_SOURCE_DIR}/benchmarks/fls_bench/fls_bench.hpp ${CMAKE_CURRENT_BINARY_DIR}/bench_chimp128.hpp)
add_executable(bench_chimp128 bench_chimp128.cpp)
target_include_directories(bench_chimp128 PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
add_executable(publication_bench_chimp128 bench_chimp128.cpp)
target_include_directories(publication_bench_chimp128 PRIVATE ${CMAKE_CURRENT_BINARY_DIR})

# Bench CHIMP ----------------------------------------------------------------------------------------------------------
configure_file(${CMAKE_SOURCE_DIR}/benchmarks/fls_bench/fls_bench.hpp ${CMAKE_CURRENT_BINARY_DIR}/bench_chimp.hpp)
add_executable(bench_chimp bench_chimp.cpp)
target_include_directories(bench_chimp PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
add_executable(publication_bench_chimp bench_chimp.cpp)
target_include_directories(publication_bench_chimp PRIVATE ${CMAKE_CURRENT_BINARY_DIR})

# Bench GORILLAS -------------------------------------------------------------------------------------------------------
configure_file(${CMAKE_SOURCE_DIR}/benchmarks/fls_bench/fls_bench.hpp ${CMAKE_CURRENT_BINARY_DIR}/bench_gorillas.hpp)
add_executable(bench_gorillas bench_gorillas.cpp)
target_include_directories(bench_gorillas PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
add_executable(publication_bench_gorillas bench_gorillas.cpp)
target_include_directories(publication_bench_gorillas PRIVATE ${CMAKE_CURRENT_BINARY_DIR})

# Test ZSTD: ----------------------------------------------------------------------------------------------------------
configure_file(${CMAKE_SOURCE_DIR}/benchmarks/fls_bench/fls_bench.hpp ${CMAKE_CURRENT_BINARY_DIR}/bench_zstd.hpp)
add_executable(bench_zstd bench_zstd.cpp)
target_include_directories(bench_zstd PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
target_link_libraries(bench_zstd PRIVATE libzstd)
add_executable(publication_bench_zstd bench_zstd.cpp)
target_include_directories(publication_bench_zstd PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
target_link_libraries(publication_bench_zstd PRIVATE libzstd)

0 comments on commit eab5d9e

Please sign in to comment.