@@ -40,23 +40,36 @@ echo ">>> Local Server started for further performance test ... >>>"
4040export cache_location=" cache"
4141
4242echo " >>> Start performance tests ... >>>"
43- heaptrack ./build/tests/performance/olp-cpp-sdk-performance-tests --gtest_filter=" *ReadNPartitionsFromVersionedLayer/short_test_null_cache" 2>> errors.txt || TEST_FAILURE=1
43+ heaptrack ./build/tests/performance/olp-cpp-sdk-performance-tests --gtest_filter=" *MemoryTest. ReadNPartitionsFromVersionedLayer/short_test_null_cache" 2>> errors.txt || TEST_FAILURE=1
4444mv heaptrack.olp-cpp-sdk-performance-tests.* .gz heaptrack.ReadNPartitionsFromVersionedLayer.short_test_null_cache.gz
4545
46- heaptrack ./build/tests/performance/olp-cpp-sdk-performance-tests --gtest_filter=" *ReadNPartitionsFromVersionedLayer/short_test_memory_cache" 2>> errors.txt || TEST_FAILURE=1
46+ heaptrack ./build/tests/performance/olp-cpp-sdk-performance-tests --gtest_filter=" *MemoryTest. ReadNPartitionsFromVersionedLayer/short_test_memory_cache" 2>> errors.txt || TEST_FAILURE=1
4747mv heaptrack.olp-cpp-sdk-performance-tests.* .gz heaptrack.ReadNPartitionsFromVersionedLayer.short_test_memory_cache.gz
4848
49- heaptrack ./build/tests/performance/olp-cpp-sdk-performance-tests --gtest_filter=" *ReadNPartitionsFromVersionedLayer/short_test_disk_cache" 2>> errors.txt || TEST_FAILURE=1
49+ heaptrack ./build/tests/performance/olp-cpp-sdk-performance-tests --gtest_filter=" *MemoryTest. ReadNPartitionsFromVersionedLayer/short_test_disk_cache" 2>> errors.txt || TEST_FAILURE=1
5050mv heaptrack.olp-cpp-sdk-performance-tests.* .gz heaptrack.ReadNPartitionsFromVersionedLayer.short_test_disk_cache.gz
51+ rm -rf $cache_location # Remove cache folder after disk cache test
5152
52- heaptrack ./build/tests/performance/olp-cpp-sdk-performance-tests --gtest_filter=" *PrefetchPartitionsFromVersionedLayer/short_test_null_cache" 2>> errors.txt || TEST_FAILURE=1
53+ heaptrack ./build/tests/performance/olp-cpp-sdk-performance-tests --gtest_filter=" *MemoryTest.PrefetchPartitionsFromVersionedLayer/short_test_null_cache" 2>> errors.txt || TEST_FAILURE=1
54+ mv heaptrack.olp-cpp-sdk-performance-tests.* .gz heaptrack.PrefetchPartitionsFromVersionedLayerOld.short_test_null_cache.gz
55+
56+ heaptrack ./build/tests/performance/olp-cpp-sdk-performance-tests --gtest_filter=" *MemoryTest.PrefetchPartitionsFromVersionedLayer/short_test_memory_cache" 2>> errors.txt || TEST_FAILURE=1
57+ mv heaptrack.olp-cpp-sdk-performance-tests.* .gz heaptrack.PrefetchPartitionsFromVersionedLayerOld.short_test_memory_cache.gz
58+
59+ heaptrack ./build/tests/performance/olp-cpp-sdk-performance-tests --gtest_filter=" *MemoryTest.PrefetchPartitionsFromVersionedLayer/short_test_disk_cache" 2>> errors.txt || TEST_FAILURE=1
60+ mv heaptrack.olp-cpp-sdk-performance-tests.* .gz heaptrack.PrefetchPartitionsFromVersionedLayerOld.short_test_disk_cache.gz
61+ rm -rf $cache_location # Remove cache folder after disk cache test
62+
63+ heaptrack ./build/tests/performance/olp-cpp-sdk-performance-tests --gtest_filter=" *PrefetchTest.PrefetchPartitionsFromVersionedLayer/short_test_null_cache" 2>> errors.txt || TEST_FAILURE=1
5364mv heaptrack.olp-cpp-sdk-performance-tests.* .gz heaptrack.PrefetchPartitionsFromVersionedLayer.short_test_null_cache.gz
5465
55- heaptrack ./build/tests/performance/olp-cpp-sdk-performance-tests --gtest_filter=" *PrefetchPartitionsFromVersionedLayer/short_test_memory_cache" 2>> errors.txt || TEST_FAILURE=1
66+ heaptrack ./build/tests/performance/olp-cpp-sdk-performance-tests --gtest_filter=" *PrefetchTest. PrefetchPartitionsFromVersionedLayer/short_test_memory_cache" 2>> errors.txt || TEST_FAILURE=1
5667mv heaptrack.olp-cpp-sdk-performance-tests.* .gz heaptrack.PrefetchPartitionsFromVersionedLayer.short_test_memory_cache.gz
5768
58- heaptrack ./build/tests/performance/olp-cpp-sdk-performance-tests --gtest_filter=" *PrefetchPartitionsFromVersionedLayer/short_test_disk_cache" 2>> errors.txt || TEST_FAILURE=1
69+ heaptrack ./build/tests/performance/olp-cpp-sdk-performance-tests --gtest_filter=" *PrefetchTest. PrefetchPartitionsFromVersionedLayer/short_test_disk_cache" 2>> errors.txt || TEST_FAILURE=1
5970mv heaptrack.olp-cpp-sdk-performance-tests.* .gz heaptrack.PrefetchPartitionsFromVersionedLayer.short_test_disk_cache.gz
71+ rm -rf $cache_location # Remove cache folder after disk cache test
72+
6073echo " >>> Finished performance tests . >>>"
6174
6275if [[ ${TEST_FAILURE} == 1 ]]; then
@@ -92,10 +105,6 @@ cp heaptrack_report.html reports
92105ls -la heaptrack
93106ls -la
94107
95- du ${cache_location}
96- du ${cache_location} /*
97- ls -la ${cache_location}
98-
99108# TODO:
100109# 1. print the total allocations done
101110# 2. use watch command on cache directory, like: watch "du | cut -d'.' -f1 >> cache.csv" and plot a disk size graph
0 commit comments