summaryrefslogtreecommitdiff
path: root/legacy/eina/src/tests/eina_bench_hash.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2008-09-24 17:20:24 +0000
committerCedric BAIL <cedric.bail@free.fr>2008-09-24 17:20:24 +0000
commit8072173d6ecb3effe95d0a60a443addf16adb22f (patch)
treeaf6c3c7b58c8027b9ae34c06cdfce3ff56a66f94 /legacy/eina/src/tests/eina_bench_hash.c
parenteec2db6edb6ad975a23e33b8ff6a7701a36fdbe6 (diff)
As evas use of hash is below 3000 items per hash, update the tests accordingly.
SVN revision: 36224
Diffstat (limited to '')
-rw-r--r--legacy/eina/src/tests/eina_bench_hash.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/legacy/eina/src/tests/eina_bench_hash.c b/legacy/eina/src/tests/eina_bench_hash.c
index ee98ae0e34..be18e304bf 100644
--- a/legacy/eina/src/tests/eina_bench_hash.c
+++ b/legacy/eina/src/tests/eina_bench_hash.c
@@ -368,19 +368,17 @@ eina_bench_lookup_ecore(int request)
368 368
369void eina_bench_hash(Eina_Benchmark *bench) 369void eina_bench_hash(Eina_Benchmark *bench)
370{ 370{
371 eina_benchmark_register(bench, "superfast-lookup", EINA_BENCHMARK(eina_bench_lookup_superfast), 1000, 180000, 2500); 371 eina_benchmark_register(bench, "superfast-lookup", EINA_BENCHMARK(eina_bench_lookup_superfast), 10, 8000, 50);
372 eina_benchmark_register(bench, "djb2-lookup", EINA_BENCHMARK(eina_bench_lookup_djb2), 1000, 180000, 2500); 372 eina_benchmark_register(bench, "djb2-lookup", EINA_BENCHMARK(eina_bench_lookup_djb2), 10, 8000, 50);
373 eina_benchmark_register(bench, "djb2-lookup-inline", EINA_BENCHMARK(eina_bench_lookup_djb2_inline), 1000, 180000, 2500); 373 eina_benchmark_register(bench, "djb2-lookup-inline", EINA_BENCHMARK(eina_bench_lookup_djb2_inline), 10, 8000, 50);
374 eina_benchmark_register(bench, "rbtree", EINA_BENCHMARK(eina_bench_lookup_rbtree), 1000, 180000, 2500); 374 eina_benchmark_register(bench, "rbtree", EINA_BENCHMARK(eina_bench_lookup_rbtree), 10, 8000, 50);
375#ifdef EINA_BENCH_HAVE_GLIB 375#ifdef EINA_BENCH_HAVE_GLIB
376 eina_benchmark_register(bench, "ghash-lookup", EINA_BENCHMARK(eina_bench_lookup_ghash), 1000, 180000, 2500); 376 eina_benchmark_register(bench, "ghash-lookup", EINA_BENCHMARK(eina_bench_lookup_ghash), 10, 8000, 50);
377#endif 377#endif
378#ifdef EINA_BENCH_HAVE_EVAS 378#ifdef EINA_BENCH_HAVE_EVAS
379#if 0 379 eina_benchmark_register(bench, "evas-lookup", EINA_BENCHMARK(eina_bench_lookup_evas), 10, 8000, 50);
380 eina_benchmark_register(bench, "evas-lookup", EINA_BENCHMARK(eina_bench_lookup_evas), 1000, 180000, 2500);
381#endif
382#endif 380#endif
383#ifdef EINA_BENCH_HAVE_ECORE 381#ifdef EINA_BENCH_HAVE_ECORE
384 eina_benchmark_register(bench, "ecore-lookup", EINA_BENCHMARK(eina_bench_lookup_ecore), 1000, 180000, 2500); 382 eina_benchmark_register(bench, "ecore-lookup", EINA_BENCHMARK(eina_bench_lookup_ecore), 10, 8000, 50);
385#endif 383#endif
386} 384}