Commit 2fe3ea0f authored by Paulo V C Medeiros's avatar Paulo V C Medeiros
Browse files

Benchmark using real-life data

parent 58a84fe9
#!/bin/bash
n_files=20
input_files_dir='input_files'
input_files_dir='benchmark_input_files'
# Cleanup
rm -rf ${input_files_dir} out*.db dump.sql *.db-journal
# Create input files
mkdir -p input_files
for i in $(seq $n_files); do
cp template_db/template.db ${input_files_dir}/db${i}.db
done
rm -rf out*.db dump.sql *.db-journal
# Create a list of input files similar to how Ulf is doing
# Useful for reference on how to modify the current scripts
......@@ -23,6 +16,6 @@ echo ''
echo 'Testing with ".dump" strategy'
time ./merge_using_dump.sh ${input_files_list}
rm -rf ${input_files_dir} dump.sql *.db-journal
rm -rf dump.sql *.db-journal
echo ''
echo 'Done.'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment