Skip to content

Commit 6462fde

Browse files
committed
feat(ae): avoid delete by size opt in batch updates
1 parent ccd1bfd commit 6462fde

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

script_ae/ae_run_batch_updates.sh

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,13 @@ log_path="logs/batch_updates"
2020
mkdir -p "${log_path}"
2121

2222
Tree=(0 1 2 3 5)
23-
make -C ../build/ kd_test p_test baselines
23+
24+
current_path=$(pwd)
25+
cd ../build
26+
rm -rf *
27+
cmake -DDEBUG=OFF -DJEMA=ON -DDISABLE_BATCH_DELETE_SIZE_OPT=ON ..
28+
make kd_test p_test baselines
29+
cd ${current_path}
2430

2531
origin_paths=("${DATA_PREFIX}/ss_varden_bigint/${NODE_SIZE}_$((dim))/1.in" "${DATA_PREFIX}/uniform_bigint/${NODE_SIZE}_${dim}/2_sort_by_0.in" "${DATA_PREFIX}/uniform_bigint/${NODE_SIZE}_${dim}/2.in")
2632
insert_paths=("${DATA_PREFIX}/ss_varden_bigint/${NODE_SIZE}_$((dim))/2.in" "${DATA_PREFIX}/uniform_bigint/${NODE_SIZE}_${dim}/1_sort_by_0.in" "${DATA_PREFIX}/uniform_bigint/${NODE_SIZE}_${dim}/1.in")
@@ -62,3 +68,9 @@ for tree in "${Tree[@]}"; do
6268
done
6369
done
6470
done
71+
72+
cd ../build
73+
rm -rf *
74+
cmake -DDEBUG=OFF -DJEMA=ON -DDISABLE_BATCH_DELETE_SIZE_OPT=OFF ..
75+
make -j
76+
cd ${current_path}

0 commit comments

Comments
 (0)