* eina: change limit to produce more meaning full benchmark.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 4 Feb 2011 14:08:00 +0000 (14:08 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 4 Feb 2011 14:08:00 +0000 (14:08 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56713 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/tests/eina_bench_array.c
src/tests/eina_bench_hash.c
src/tests/eina_bench_mempool.c

index 2e32e98..425eddd 100644 (file)
@@ -691,9 +691,9 @@ void eina_bench_array(Eina_Benchmark *bench)
                            EINA_BENCHMARK(
                               eina_bench_evas_list_4evas_render),       200,
                            4000, 100);
-   /* eina_benchmark_register(bench, "ecore", */
-   /*                         EINA_BENCHMARK( */
-   /*                            eina_bench_ecore_list_4evas_render),      200, */
-   /*                         1000, 100); */
+   eina_benchmark_register(bench, "ecore",
+                           EINA_BENCHMARK(
+                              eina_bench_ecore_list_4evas_render),      200,
+                           500, 100);
 }
 
index c510c2b..aaabbb2 100644 (file)
@@ -402,25 +402,25 @@ void eina_bench_hash(Eina_Benchmark *bench)
 {
    eina_benchmark_register(bench, "superfast-lookup",
                            EINA_BENCHMARK(
-                              eina_bench_lookup_superfast),   10, 3000, 10);
+                              eina_bench_lookup_superfast),   10, 10000, 10);
    eina_benchmark_register(bench, "djb2-lookup",
                            EINA_BENCHMARK(
-                              eina_bench_lookup_djb2),        10, 3000, 10);
+                              eina_bench_lookup_djb2),        10, 10000, 10);
    eina_benchmark_register(bench, "djb2-lookup-inline",
                            EINA_BENCHMARK(
-                              eina_bench_lookup_djb2_inline), 10, 3000, 10);
+                              eina_bench_lookup_djb2_inline), 10, 10000, 10);
    eina_benchmark_register(bench, "rbtree",
                            EINA_BENCHMARK(
-                              eina_bench_lookup_rbtree),      10, 3000, 10);
+                              eina_bench_lookup_rbtree),      10, 10000, 10);
 #ifdef EINA_BENCH_HAVE_GLIB
    eina_benchmark_register(bench, "ghash-lookup",
                            EINA_BENCHMARK(
-                              eina_bench_lookup_ghash),       10, 3000, 10);
+                              eina_bench_lookup_ghash),       10, 10000, 10);
 #endif
    eina_benchmark_register(bench, "evas-lookup",
                            EINA_BENCHMARK(
-                              eina_bench_lookup_evas),        10, 3000, 10);
+                              eina_bench_lookup_evas),        10, 10000, 10);
    eina_benchmark_register(bench, "ecore-lookup",
                            EINA_BENCHMARK(
-                              eina_bench_lookup_ecore),       10, 3000, 10);
+                              eina_bench_lookup_ecore),       10, 10000, 10);
 }
index ac6f5b4..d7e2c62 100644 (file)
@@ -158,31 +158,31 @@ eina_bench_mempool(Eina_Benchmark *bench)
 #ifdef EINA_BUILD_CHAINED_POOL
    eina_benchmark_register(bench, "chained mempool",
                            EINA_BENCHMARK(
-                              eina_mempool_chained_mempool), 10, 1000, 10);
+                              eina_mempool_chained_mempool), 10, 10000, 10);
 #endif
 #ifdef EINA_BUILD_PASS_THROUGH
    eina_benchmark_register(bench, "pass through",
                            EINA_BENCHMARK(
-                              eina_mempool_pass_through),    10, 1000, 10);
+                              eina_mempool_pass_through),    10, 10000, 10);
 #endif
 #ifdef EINA_BUILD_FIXED_BITMAP
    eina_benchmark_register(bench, "fixed bitmap",
                            EINA_BENCHMARK(
-                              eina_mempool_fixed_bitmap),    10, 1000, 10);
+                              eina_mempool_fixed_bitmap),    10, 10000, 10);
 #endif
 #ifdef EINA_BUILD_EMEMOA_FIXED
    eina_benchmark_register(bench, "ememoa fixed",
                            EINA_BENCHMARK(
-                              eina_mempool_ememoa_fixed),    10, 1000, 10);
+                              eina_mempool_ememoa_fixed),    10, 10000, 10);
 #endif
 #ifdef EINA_BUILD_EMEMOA_UNKNOWN
    eina_benchmark_register(bench, "ememoa unknown",
                            EINA_BENCHMARK(
-                              eina_mempool_ememoa_unknown),  10, 1000, 10);
+                              eina_mempool_ememoa_unknown),  10, 10000, 10);
 #endif
 #ifdef EINA_BENCH_HAVE_GLIB
    eina_benchmark_register(bench, "gslice",
                            EINA_BENCHMARK(
-                              eina_mempool_glib),            10, 1000, 10);
+                              eina_mempool_glib),            10, 10000, 10);
 #endif
 }