summaryrefslogtreecommitdiff
path: root/src/benchmarks/eina/eina_bench.c
diff options
context:
space:
mode:
authorvivek <vivek.ellur@samsung.com>2015-04-28 23:29:18 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-05-07 09:53:11 +0200
commiteec4a7bd0caa7d52bff6cc524ca12efa16d1445b (patch)
tree786145e534cfb55b4a43e901cde65b0a75d7fe1a /src/benchmarks/eina/eina_bench.c
parentd63593fc64be49f56857edecc540c94fac33c52a (diff)
eina: add benchmark for crc hash in eina benchmark
Summary: The code added is actually benchmarking all hash function key with various length (8, 32, 256 bytes). Signed-off-by: vivek <vivek.ellur@samsung.com> Reviewers: Sergeant_Whitespace, cedric Reviewed By: cedric Subscribers: Sergeant_Whitespace, cedric Differential Revision: https://phab.enlightenment.org/D2217 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/benchmarks/eina/eina_bench.c')
-rw-r--r--src/benchmarks/eina/eina_bench.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/benchmarks/eina/eina_bench.c b/src/benchmarks/eina/eina_bench.c
index dec210e06d..1ca7e51c18 100644
--- a/src/benchmarks/eina/eina_bench.c
+++ b/src/benchmarks/eina/eina_bench.c
@@ -37,6 +37,9 @@ struct _Eina_Benchmark_Case
37 37
38static const Eina_Benchmark_Case etc[] = { 38static const Eina_Benchmark_Case etc[] = {
39 { "Hash", eina_bench_hash, EINA_TRUE }, 39 { "Hash", eina_bench_hash, EINA_TRUE },
40 { "Hash_Short_Key", eina_bench_crc_hash_short, EINA_TRUE },
41 { "Hash_Medium_Key", eina_bench_crc_hash_medium, EINA_TRUE },
42 { "Hash_Large_key", eina_bench_crc_hash_large, EINA_TRUE },
40 { "Array vs List vs Inlist", eina_bench_array, EINA_TRUE }, 43 { "Array vs List vs Inlist", eina_bench_array, EINA_TRUE },
41 { "Stringshare", eina_bench_stringshare, EINA_TRUE }, 44 { "Stringshare", eina_bench_stringshare, EINA_TRUE },
42 { "Convert", eina_bench_convert, EINA_TRUE }, 45 { "Convert", eina_bench_convert, EINA_TRUE },