From 764a9c41cad220513523afb6b610b2bdf74e5476 Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Tue, 14 May 2024 16:00:17 -0400 Subject: Poplar Trie: updated benchmark to standard format --- benchmarks/poplar_trie.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'benchmarks/poplar_trie.cpp') 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(); -- cgit v1.2.3