summaryrefslogtreecommitdiffstats
path: root/benchmarks/poplar_trie.cpp
diff options
context:
space:
mode:
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();