Gustavo Sverzut Barbieri
091741f861
Force dummy_symbol to be visible.
...
"make check" was failing with -fvisibility=hidden.
SVN revision: 37958
2008-12-06 06:12:30 +00:00
Cedric BAIL
437c220266
Add dladdr and env code for eina_module from Vincent Torri.
...
SVN revision: 37374
2008-11-01 15:39:53 +00:00
Gustavo Sverzut Barbieri
e9a398e076
test small strings.
...
SVN revision: 37280
2008-10-28 17:19:02 +00:00
Cedric BAIL
a299da4fb5
This test is now not defined. Remove it.
...
SVN revision: 37277
2008-10-28 16:40:34 +00:00
Cedric BAIL
e243e4408a
Make Eina_Rectangle_Pool more usable.
...
SVN revision: 37275
2008-10-28 15:28:46 +00:00
Cedric BAIL
72e45419ec
Add Eina_Rectangle_Pool support. Typically help for font handling in OpenGL or
...
any case where you need to split a rectangle in many differents small rectangle.
SVN revision: 37252
2008-10-27 20:24:12 +00:00
Cedric BAIL
68d377afe6
Rename EINA_INLIST_ITER_NEXT/EINA_INLIST_ITER_LAST to EINA_INLIST_FOREACH/
...
EINA_INLIST_REVERSE_FOREACH so it best match is behaviour. Asked by Gustavo.
SVN revision: 36928
2008-10-21 12:19:57 +00:00
Cedric BAIL
1950725606
Add merge function to list data type.
...
SVN revision: 36922
2008-10-21 11:28:38 +00:00
Cedric BAIL
380120ce2a
Should fix build outside of the source tree.
...
SVN revision: 36689
2008-10-15 16:23:14 +00:00
Cedric BAIL
d905ee9bda
Add option to report stringshare usage (E17 use around 10000 differents strings).
...
SVN revision: 36658
2008-10-14 15:32:57 +00:00
Cedric BAIL
d3ba8a9e2e
Actually bench djb2 inline and not superfast hash function.
...
SVN revision: 36480
2008-10-06 14:48:13 +00:00
Cedric BAIL
b158ab48ed
Update hash benchmark to reflect E use (hash population under 2000, more find than add).
...
Current status :
- same performance for evas, eina and glib with les than 500 items.
- glib is then faster, eina/evas are second until 800.
- glib remain the fastest, eina is second, and evas is starting to drop in performance.
SVN revision: 36476
2008-10-06 12:16:27 +00:00
Cedric BAIL
439401682d
Reduce code size, and improve sort speed.
...
SVN revision: 36382
2008-10-01 16:30:30 +00:00
Cedric BAIL
9ef4d6b65d
Benchmark glib mempool too.
...
SVN revision: 36360
2008-09-30 15:07:35 +00:00
Cedric BAIL
9ffada517d
Faster sort initialisation.
...
SVN revision: 36359
2008-09-30 14:16:18 +00:00
Cedric BAIL
3315d29c7f
Fix chained mempool allocator.
...
SVN revision: 36355
2008-09-30 12:55:33 +00:00
Vincent Torri
f9a4c97693
add a config.h
...
SVN revision: 36342
2008-09-30 06:16:41 +00:00
Vincent Torri
bf372e44f9
when a .la file is passed to _LIBADD or _LDADD, automake
...
knows that the corresponding program or lib depends on
that .la file
SVN revision: 36322
2008-09-29 19:30:15 +00:00
Vincent Torri
e88e4d5fb5
* fix warning in tests
...
* add config.h when needed
* remove result/ dir before launching benchmark
SVN revision: 36321
2008-09-29 19:20:16 +00:00
Cedric BAIL
b6960f58b6
Patch from Vincent Torri that cleanup tests, coverage and benchmark.
...
SVN revision: 36315
2008-09-29 14:35:28 +00:00
Cedric BAIL
7c47066009
Change module API to use Eina_Array as we want to use mempool and module for Eina_List.
...
Fix at the same time a closing bug in eina_module.c.
SVN revision: 36312
2008-09-29 13:28:42 +00:00
Cedric BAIL
1620af2ae0
Add benchmark for mempool (chained_mempool is disabled, because it's currently buggy).
...
SVN revision: 36309
2008-09-29 09:45:26 +00:00
Cedric BAIL
93656a916a
Fix initialization.
...
SVN revision: 36308
2008-09-29 09:43:37 +00:00
Vincent Torri
d6ae9053ad
minor formatting
...
SVN revision: 36293
2008-09-28 13:10:08 +00:00
Cedric BAIL
2acd11a39e
Add a new type of memory pool and factorize test code.
...
SVN revision: 36267
2008-09-26 15:27:46 +00:00
Cedric BAIL
6f5b3584dd
Store build information inside eina_config.h, and fix magic use.
...
SVN revision: 36263
2008-09-26 11:41:55 +00:00
Cedric BAIL
42d39725b4
Last part of quarium patch.
...
SVN revision: 36257
2008-09-25 14:46:48 +00:00
Cedric BAIL
8b85ce70d4
Patch from quarium.
...
Add magic to array and list.
Need to patch autotools to generate something like eina_config.h.
SVN revision: 36256
2008-09-25 14:46:16 +00:00
Cedric BAIL
e8b25fb405
Add a sort benchmark.
...
SVN revision: 36250
2008-09-25 12:41:49 +00:00
Cedric BAIL
8072173d6e
As evas use of hash is below 3000 items per hash, update the tests accordingly.
...
SVN revision: 36224
2008-09-24 17:20:24 +00:00
Cedric BAIL
eec2db6edb
Fix test due to mempool internal change.
...
SVN revision: 36223
2008-09-24 17:17:22 +00:00
Cedric BAIL
550ebc9ab1
Add hash and rbtree delete callback, cleanup the code and improve performance (hash as a new internal structure).
...
We still need a hash function for removing a node from the hash and destroying it at the same time.
SVN revision: 36222
2008-09-24 17:14:29 +00:00
Jorge Luis Zapata Muga
5ed8ea7e09
+ Make the benchmark compile again
...
+ Remove unused code
SVN revision: 36213
2008-09-24 13:59:00 +00:00
Jorge Luis Zapata Muga
c9f08f6124
New module API. Port this API to the mempool subsystem and the tests.
...
Now the modules can define a default function that will be called when the module is loaded and unloaded.
SVN revision: 36207
2008-09-24 12:55:31 +00:00
Cedric BAIL
201bba1ba8
Add benchmark for evas (also add ecore bench, but it's deactivated by default,
...
as i can't run it on my computer).
SVN revision: 36170
2008-09-22 14:27:50 +00:00
Cedric BAIL
60d10a0b9e
Fix new inlist API.
...
SVN revision: 36163
2008-09-22 13:00:52 +00:00
Cedric BAIL
44c684bd36
Remove warning due to Inlist API change.
...
SVN revision: 36098
2008-09-19 12:40:18 +00:00
Cedric BAIL
80a227ff13
We have now a defined behaviour when we have more than one entry with the same
...
key in the hash table.
SVN revision: 36096
2008-09-19 12:19:06 +00:00
Cedric BAIL
8bda22fced
Add some type checking to Inlined List.
...
SVN revision: 36084
2008-09-18 14:22:48 +00:00
Cedric BAIL
fc08f85167
Make module path global to all bench.
...
SVN revision: 36080
2008-09-18 14:19:50 +00:00
Cedric BAIL
ad793833c6
Set module path for all tests.
...
SVN revision: 36079
2008-09-18 14:17:48 +00:00
Cedric BAIL
ce16573cb3
Add init/shutdown to benchmark and fix its users.
...
SVN revision: 36073
2008-09-18 10:04:46 +00:00
Cedric BAIL
96bfcc0395
Add another mempool test.
...
SVN revision: 36054
2008-09-17 16:33:16 +00:00
Cedric BAIL
c9ad936b24
Add mempool check.
...
SVN revision: 36053
2008-09-17 15:23:09 +00:00
Cedric BAIL
3bf0d7ed5e
Add protection for dump function also.
...
SVN revision: 36042
2008-09-17 08:59:47 +00:00
Cedric BAIL
eeb52f487a
Fix bug reported by Vincent Torri and add a test to trigger it.
...
SVN revision: 36041
2008-09-17 08:33:35 +00:00
Cedric BAIL
d40ebdca1b
Add real life test from E17 use.
...
SVN revision: 36017
2008-09-16 14:06:14 +00:00
Cedric BAIL
3f59016035
Add Ecore and Evas benchmark.
...
SVN revision: 36015
2008-09-16 13:50:34 +00:00
Vincent Torri
78c9527052
* add documentation. The tutorial needs to be written, though
...
* rename eina_arra_count() to eina_array_count_get() and
eina_arra_get() to eina_array_data_get()
SVN revision: 36003
2008-09-15 19:17:15 +00:00
Cedric BAIL
e54390798d
Add more test for stringshare.
...
SVN revision: 35999
2008-09-15 12:44:06 +00:00