2011-01-16 09:55:41 -08:00
|
|
|
/* EINA - EFL data type library
|
|
|
|
* Copyright (C) 2008 Cedric Bail
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library;
|
|
|
|
* if not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef EINA_BENCH_H_
|
|
|
|
#define EINA_BENCH_H_
|
|
|
|
|
|
|
|
#include "eina_benchmark.h"
|
|
|
|
|
2020-01-31 04:40:45 -08:00
|
|
|
extern int key_size;
|
2015-04-28 14:29:18 -07:00
|
|
|
|
2011-01-16 09:55:41 -08:00
|
|
|
void eina_bench_hash(Eina_Benchmark *bench);
|
2015-04-28 14:29:18 -07:00
|
|
|
void eina_bench_crc_hash_short(Eina_Benchmark *bench);
|
|
|
|
void eina_bench_crc_hash_medium(Eina_Benchmark *bench);
|
|
|
|
void eina_bench_crc_hash_large(Eina_Benchmark *bench);
|
2011-01-16 09:55:41 -08:00
|
|
|
void eina_bench_array(Eina_Benchmark *bench);
|
|
|
|
void eina_bench_stringshare(Eina_Benchmark *bench);
|
|
|
|
void eina_bench_convert(Eina_Benchmark *bench);
|
|
|
|
void eina_bench_sort(Eina_Benchmark *bench);
|
|
|
|
void eina_bench_mempool(Eina_Benchmark *bench);
|
|
|
|
void eina_bench_rectangle_pool(Eina_Benchmark *bench);
|
|
|
|
void eina_bench_quadtree(Eina_Benchmark *bench);
|
2016-05-24 13:36:26 -07:00
|
|
|
void eina_bench_promise(Eina_Benchmark *bench);
|
2011-01-16 09:55:41 -08:00
|
|
|
|
|
|
|
/* Specific benchmark. */
|
|
|
|
void eina_bench_e17(void);
|
|
|
|
|
|
|
|
#endif
|