Skip to content

Commit 5e03471

Browse files
committed
deleted unnecessary implementations
1 parent aa2b5f9 commit 5e03471

File tree

3 files changed

+0
-344
lines changed

3 files changed

+0
-344
lines changed

libraries/multi_index_lru/include/userver/multi_index_lru/implements/examples/lru_list_container.h

Lines changed: 0 additions & 184 deletions
This file was deleted.

libraries/multi_index_lru/include/userver/multi_index_lru/implements/examples/lru_time_index_container.h

Lines changed: 0 additions & 145 deletions
This file was deleted.

libraries/multi_index_lru/tests/main.cpp

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,16 @@
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

108
using namespace USERVER_NAMESPACE;
119

1210
int 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");

0 commit comments

Comments
 (0)