diff --git a/publication/master_script/master_script.sh b/publication/master_script/master_script.sh index b2b48f2..8c0d6ed 100755 --- a/publication/master_script/master_script.sh +++ b/publication/master_script/master_script.sh @@ -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" diff --git a/publication/source_code/bench_compression_ratio/CMakeLists.txt b/publication/source_code/bench_compression_ratio/CMakeLists.txt index da41bbb..d6c0dd2 100644 --- a/publication/source_code/bench_compression_ratio/CMakeLists.txt +++ b/publication/source_code/bench_compression_ratio/CMakeLists.txt @@ -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) \ No newline at end of file +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) \ No newline at end of file diff --git a/publication/source_code/bench_speed/CMakeLists.txt b/publication/source_code/bench_speed/CMakeLists.txt index 47cb6f2..09de2fb 100644 --- a/publication/source_code/bench_speed/CMakeLists.txt +++ b/publication/source_code/bench_speed/CMakeLists.txt @@ -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)