File tree Expand file tree Collapse file tree 3 files changed +0
-344
lines changed
libraries/multi_index_lru
include/userver/multi_index_lru/implements/examples Expand file tree Collapse file tree 3 files changed +0
-344
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33#include " benchmarks/lru_google_benchmarks.h"
44
55// #define LRU_CONTAINER_DEBUG__
6- #include < userver/multi_index_lru/implements/examples/lru_time_index_container.h>
7- #include < userver/multi_index_lru/implements/examples/lru_list_container.h>
86#include < userver/multi_index_lru/lru_boost_list_container.h>
97
108using namespace USERVER_NAMESPACE ;
119
1210int main () {
13- test_lru_users<lru_time_index::LRUCacheContainer_TimeIndex>();
14- test_lru_products<lru_time_index::LRUCacheContainer_TimeIndex>();
15- std::cout << " all tests success" << std::endl;
16-
17- test_lru_users<lru_list::LRUCacheContainer_List>();
18- test_lru_products<lru_list::LRUCacheContainer_List>();
19- std::cout << " all tests success" << std::endl;
20-
2111 test_lru_users<lru_boost_list::LRUCacheContainer>();
2212 test_lru_products<lru_boost_list::LRUCacheContainer>();
2313 std::cout << " all tests success" << std::endl;
2414
25- benchmarks::simple_benchmark<lru_list::LRUCacheContainer_List>(" list_output.txt" );
26- benchmarks::simple_benchmark<lru_time_index::LRUCacheContainer_TimeIndex>(" time_index_output.txt" );
2715 benchmarks::simple_benchmark<lru_boost_list::LRUCacheContainer>(" boost_list_output.txt" );
28-
29- benchmarks::google_benchmark<lru_list::LRUCacheContainer_List>();
30- benchmarks::google_benchmark<lru_time_index::LRUCacheContainer_TimeIndex>();
3116 benchmarks::google_benchmark<lru_boost_list::LRUCacheContainer>();
3217
3318 benchmarks::google_benchmark_init (" google_output.txt" );
You can’t perform that action at this time.
0 commit comments