summaryrefslogtreecommitdiffstats
path: root/benchmarks/alex_rq_bench.cpp
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2023-07-26 09:44:44 -0400
committerDouglas Rumbaugh <dbr4@psu.edu>2023-07-26 09:44:44 -0400
commit63929187f2c1d0c95719d8435794a5136cb1cc73 (patch)
tree4cc146eee6751ba58f89ea56a5704830dd8dc42d /benchmarks/alex_rq_bench.cpp
parent8e86ca7ce7823bbdb1e71c329ae1bd564c0d54fb (diff)
downloaddynamic-extension-63929187f2c1d0c95719d8435794a5136cb1cc73.tar.gz
Adjusted calculation for index size
Diffstat (limited to 'benchmarks/alex_rq_bench.cpp')
-rw-r--r--benchmarks/alex_rq_bench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/alex_rq_bench.cpp b/benchmarks/alex_rq_bench.cpp
index 00e0002..54df024 100644
--- a/benchmarks/alex_rq_bench.cpp
+++ b/benchmarks/alex_rq_bench.cpp
@@ -203,7 +203,7 @@ int main(int argc, char **argv)
size_t insert_cnt = record_count - warmup_cnt;
alex_rq_insert(alex, datafile, insert_cnt, delete_prop, to_delete, true);
- size_t memory_usage = alex.model_size();
+ size_t memory_usage = alex.model_size() + alex.data_size();
fprintf(stdout, "%ld\t", memory_usage);
alex_rq_bench(alex, queries);