summaryrefslogtreecommitdiff
path: root/src/benchmarks/eina/eina_bench_mempool.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-08-15 13:46:38 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-08-15 13:46:38 -0700
commitf4f926f2bd69865e538d8b5259e350674562d471 (patch)
treee2b9f31c4221f9e0dd971fee22e697054c78ff6f /src/benchmarks/eina/eina_bench_mempool.c
parentb94390a6aa1edad7da389c96b11ae0d867fa9cd3 (diff)
eina: remove tests and benchmark for long dead mempool.
Diffstat (limited to '')
-rw-r--r--src/benchmarks/eina/eina_bench_mempool.c59
1 files changed, 0 insertions, 59 deletions
diff --git a/src/benchmarks/eina/eina_bench_mempool.c b/src/benchmarks/eina/eina_bench_mempool.c
index d7e2c62ade..783677484c 100644
--- a/src/benchmarks/eina/eina_bench_mempool.c
+++ b/src/benchmarks/eina/eina_bench_mempool.c
@@ -78,50 +78,6 @@ eina_mempool_pass_through(int request)
78} 78}
79#endif 79#endif
80 80
81#ifdef EINA_BUILD_FIXED_BITMAP
82static void
83eina_mempool_fixed_bitmap(int request)
84{
85 Eina_Mempool *mp;
86
87 mp = eina_mempool_add("fixed_bitmap", "test", NULL, sizeof (int));
88 _eina_mempool_bench(mp, request);
89 eina_mempool_del(mp);
90}
91#endif
92
93#ifdef EINA_BUILD_EMEMOA_FIXED
94static void
95eina_mempool_ememoa_fixed(int request)
96{
97 Eina_Mempool *mp;
98
99 mp = eina_mempool_add("ememoa_fixed", "test", NULL, sizeof (int), 8, 0);
100 _eina_mempool_bench(mp, request);
101 eina_mempool_del(mp);
102}
103#endif
104
105#ifdef EINA_BUILD_EMEMOA_UNKNOWN
106static void
107eina_mempool_ememoa_unknown(int request)
108{
109 Eina_Mempool *mp;
110
111 mp = eina_mempool_add("ememoa_unknown",
112 "test",
113 NULL,
114 0,
115 2,
116 sizeof (int),
117 8,
118 sizeof (int) * 2,
119 8);
120 _eina_mempool_bench(mp, request);
121 eina_mempool_del(mp);
122}
123#endif
124
125#ifdef EINA_BENCH_HAVE_GLIB 81#ifdef EINA_BENCH_HAVE_GLIB
126static void 82static void
127eina_mempool_glib(int request) 83eina_mempool_glib(int request)
@@ -165,21 +121,6 @@ eina_bench_mempool(Eina_Benchmark *bench)
165 EINA_BENCHMARK( 121 EINA_BENCHMARK(
166 eina_mempool_pass_through), 10, 10000, 10); 122 eina_mempool_pass_through), 10, 10000, 10);
167#endif 123#endif
168#ifdef EINA_BUILD_FIXED_BITMAP
169 eina_benchmark_register(bench, "fixed bitmap",
170 EINA_BENCHMARK(
171 eina_mempool_fixed_bitmap), 10, 10000, 10);
172#endif
173#ifdef EINA_BUILD_EMEMOA_FIXED
174 eina_benchmark_register(bench, "ememoa fixed",
175 EINA_BENCHMARK(
176 eina_mempool_ememoa_fixed), 10, 10000, 10);
177#endif
178#ifdef EINA_BUILD_EMEMOA_UNKNOWN
179 eina_benchmark_register(bench, "ememoa unknown",
180 EINA_BENCHMARK(
181 eina_mempool_ememoa_unknown), 10, 10000, 10);
182#endif
183#ifdef EINA_BENCH_HAVE_GLIB 124#ifdef EINA_BENCH_HAVE_GLIB
184 eina_benchmark_register(bench, "gslice", 125 eina_benchmark_register(bench, "gslice",
185 EINA_BENCHMARK( 126 EINA_BENCHMARK(