summaryrefslogtreecommitdiff
path: root/legacy/eina/src/tests/eina_bench_hash.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2008-08-08 14:20:11 +0000
committerCedric BAIL <cedric.bail@free.fr>2008-08-08 14:20:11 +0000
commitce23f3c2a9f664b19df8513df4a1489ea7aabee1 (patch)
treeee0dd2395d979cfbb1dc673840a1416fbeb4895a /legacy/eina/src/tests/eina_bench_hash.c
parent5cfb71ff7224fee16a8472d06a55351c95ff5d5e (diff)
After benchmarking, providing inline does impact performance of list and array user.
SVN revision: 35406
Diffstat (limited to '')
-rw-r--r--legacy/eina/src/tests/eina_bench_hash.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/legacy/eina/src/tests/eina_bench_hash.c b/legacy/eina/src/tests/eina_bench_hash.c
index febdb95d2e..5b8e119818 100644
--- a/legacy/eina/src/tests/eina_bench_hash.c
+++ b/legacy/eina/src/tests/eina_bench_hash.c
@@ -68,6 +68,7 @@ eina_bench_lookup_superfast(int request)
68 68
69 EINA_ARRAY_ITER_NEXT(array, i, tmp_val) 69 EINA_ARRAY_ITER_NEXT(array, i, tmp_val)
70 free(tmp_val); 70 free(tmp_val);
71 EINA_ARRAY_ITER_END;
71 72
72 eina_array_free(array); 73 eina_array_free(array);
73} 74}
@@ -115,6 +116,7 @@ eina_bench_lookup_djb2(int request)
115 116
116 EINA_ARRAY_ITER_NEXT(array, i, tmp_val) 117 EINA_ARRAY_ITER_NEXT(array, i, tmp_val)
117 free(tmp_val); 118 free(tmp_val);
119 EINA_ARRAY_ITER_END;
118 120
119 eina_array_free(array); 121 eina_array_free(array);
120} 122}
@@ -164,6 +166,7 @@ eina_bench_lookup_djb2_inline(int request)
164 166
165 EINA_ARRAY_ITER_NEXT(array, i, tmp_val) 167 EINA_ARRAY_ITER_NEXT(array, i, tmp_val)
166 free(tmp_val); 168 free(tmp_val);
169 EINA_ARRAY_ITER_END;
167 170
168 eina_array_free(array); 171 eina_array_free(array);
169} 172}