summaryrefslogtreecommitdiff
path: root/legacy/eina/src/tests/eina_bench_hash.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2011-02-04 14:08:00 +0000
committerCedric BAIL <cedric.bail@free.fr>2011-02-04 14:08:00 +0000
commit11d82c19c756eaa9d58f8fb87dcc4a8e5534dffa (patch)
tree58dba7b589294e454bbcc36b6215a20308bcc9b0 /legacy/eina/src/tests/eina_bench_hash.c
parent3a058ac01452b18b2adc69016a4a111ccf6d500e (diff)
* eina: change limit to produce more meaning full benchmark.
SVN revision: 56713
Diffstat (limited to '')
-rw-r--r--legacy/eina/src/tests/eina_bench_hash.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/legacy/eina/src/tests/eina_bench_hash.c b/legacy/eina/src/tests/eina_bench_hash.c
index c510c2bcf0..aaabbb22c2 100644
--- a/legacy/eina/src/tests/eina_bench_hash.c
+++ b/legacy/eina/src/tests/eina_bench_hash.c
@@ -402,25 +402,25 @@ void eina_bench_hash(Eina_Benchmark *bench)
402{ 402{
403 eina_benchmark_register(bench, "superfast-lookup", 403 eina_benchmark_register(bench, "superfast-lookup",
404 EINA_BENCHMARK( 404 EINA_BENCHMARK(
405 eina_bench_lookup_superfast), 10, 3000, 10); 405 eina_bench_lookup_superfast), 10, 10000, 10);
406 eina_benchmark_register(bench, "djb2-lookup", 406 eina_benchmark_register(bench, "djb2-lookup",
407 EINA_BENCHMARK( 407 EINA_BENCHMARK(
408 eina_bench_lookup_djb2), 10, 3000, 10); 408 eina_bench_lookup_djb2), 10, 10000, 10);
409 eina_benchmark_register(bench, "djb2-lookup-inline", 409 eina_benchmark_register(bench, "djb2-lookup-inline",
410 EINA_BENCHMARK( 410 EINA_BENCHMARK(
411 eina_bench_lookup_djb2_inline), 10, 3000, 10); 411 eina_bench_lookup_djb2_inline), 10, 10000, 10);
412 eina_benchmark_register(bench, "rbtree", 412 eina_benchmark_register(bench, "rbtree",
413 EINA_BENCHMARK( 413 EINA_BENCHMARK(
414 eina_bench_lookup_rbtree), 10, 3000, 10); 414 eina_bench_lookup_rbtree), 10, 10000, 10);
415#ifdef EINA_BENCH_HAVE_GLIB 415#ifdef EINA_BENCH_HAVE_GLIB
416 eina_benchmark_register(bench, "ghash-lookup", 416 eina_benchmark_register(bench, "ghash-lookup",
417 EINA_BENCHMARK( 417 EINA_BENCHMARK(
418 eina_bench_lookup_ghash), 10, 3000, 10); 418 eina_bench_lookup_ghash), 10, 10000, 10);
419#endif 419#endif
420 eina_benchmark_register(bench, "evas-lookup", 420 eina_benchmark_register(bench, "evas-lookup",
421 EINA_BENCHMARK( 421 EINA_BENCHMARK(
422 eina_bench_lookup_evas), 10, 3000, 10); 422 eina_bench_lookup_evas), 10, 10000, 10);
423 eina_benchmark_register(bench, "ecore-lookup", 423 eina_benchmark_register(bench, "ecore-lookup",
424 EINA_BENCHMARK( 424 EINA_BENCHMARK(
425 eina_bench_lookup_ecore), 10, 3000, 10); 425 eina_bench_lookup_ecore), 10, 10000, 10);
426} 426}