summaryrefslogtreecommitdiffstats
path: root/benchmarks/poplar_trie.cpp
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2024-05-14 16:00:17 -0400
committerDouglas Rumbaugh <dbr4@psu.edu>2024-05-14 16:00:54 -0400
commit764a9c41cad220513523afb6b610b2bdf74e5476 (patch)
tree13abef64d422c7f5016a9b64aaa64265a01209ba /benchmarks/poplar_trie.cpp
parentc611e8e56ebe72e09127fff4fb14a08dc3fcb698 (diff)
downloaddynamic-extension-764a9c41cad220513523afb6b610b2bdf74e5476.tar.gz
Poplar Trie: updated benchmark to standard format
Diffstat (limited to 'benchmarks/poplar_trie.cpp')
-rw-r--r--benchmarks/poplar_trie.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/benchmarks/poplar_trie.cpp b/benchmarks/poplar_trie.cpp
index c85e718..6c47465 100644
--- a/benchmarks/poplar_trie.cpp
+++ b/benchmarks/poplar_trie.cpp
@@ -61,10 +61,12 @@ int main(int argc, char **argv) {
}
auto trie = new Trie();
+ size_t warmup = strings.size()*.1;
+ insert_thread(0, warmup, trie);
TIMER_INIT();
TIMER_START();
- insert_thread(0, strings.size(), trie);
+ insert_thread(warmup, strings.size(), trie);
TIMER_STOP();
auto total_time = TIMER_RESULT();