aboutsummaryrefslogtreecommitdiffstats
path: root/src/benchmarks (follow)
Commit message (Collapse)AuthorAgeFilesLines
* efl: use efl_add_ref to create objects which have no parentCedric BAIL2018-03-203-11/+11
| | | | Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
* all: Simplify definition of EAPIVincent Torri2018-01-182-8/+8
| | | | | This will help in the transition from Autotools to Meson. This has been tested on Windows for which EFL_XXX_BUILD were first introduced.
* benchmarks: eine: include header for using time()Stefan Schmidt2018-01-021-0/+1
| | | | | | | | ../src/benchmarks/eina/eina_bench_sort.c: In function ‘eina_bench_sort_eina’: ../src/benchmarks/eina/eina_bench_sort.c:52:10: warning: implicit declaration of function ‘time’ [-Wimplicit-function-declaration] srand(time(NULL)); Found due to the nice quite build output in our meson feature branch.
* eina: remove tests and benchmark for long dead mempool.Cedric BAIL2017-08-151-59/+0
|
* eina: remove benchmark for Eina_Promise.Cedric BAIL2016-11-073-311/+0
|
* Eo: Change the way functions are registered to classesTom Hacohen2016-09-092-2/+2
| | | | | | | | | This change lets us remove a field from the structure that leads to around 20KiB more of saving in private dirty pages in elementary. This also looks a bit better and feels a bit cleaner. Breaks API and ABI.
* Eo: Make function overrides implicit.Tom Hacohen2016-09-081-1/+1
| | | | | | | | | | | Before this commit, function overrides were explicit. That is, you'd have to explicitly state you were overriding a function instead of creating a new one. This made the code a tad more complex, and was also a bit more annoying to use. This commit removes this extra piece of information. This means we now store much less information per function, that will let us further optimise out structures in the future.
* Eo benchmarks: Fix according to recent Eo changes.Tom Hacohen2016-09-062-9/+21
| | | | Thanks to Stefan for the report.
* efl callbacks: update some events calls to no longer trigger legacy callbacksdevs/vitorsousa/update_event_callsVitor Sousa2016-08-301-1/+1
|
* Efl object: Rename Eo_Event -> Efl_Event.Tom Hacohen2016-08-301-1/+1
| | | | This is the last step of the Eo renaming efforts.
* Efl Object: remove legacy callback calls from event_callback_callVitor Sousa2016-08-261-1/+1
| | | | | | | | | | | | | Efl.Object.event_callback_call no longer calls legacy smart callbacks; calling only event callbacks registered with the given event description pointer. Create the method Efl.Object.event_callback_legacy_call to inherit the old behavior from Efl.Object.event_callback_call, calling both Efl.Object events and legacy smart callbacks. Update all other files accordingly in order to still supply legacy callbacks while they are necessary.
* Efl object: Don't pass events to eo class creation.Tom Hacohen2016-08-232-2/+0
| | | | | | | This was never used and there is no plan to ever use it. I'm going to soon add a different mechanism with which it will be possible to provide them again to Eo if ever needed without breaking ABI. Though it's unlikely it will ever be.
* Eo: Finish the renaming of Eo to the EFL.Tom Hacohen2016-08-156-45/+45
| | | | | | | This renames all the rest of the API to the EFL namespace except for Eo_Event that will follow soon. Obviously breaks both API and ABI.
* Change the EFL to follow the new Eo rename.Tom Hacohen2016-08-114-13/+13
|
* Adjust the code according to the eo event stop changes.Tom Hacohen2016-06-201-2/+1
| | | | This was changed in the previous commit.
* benchmark: eo: add missing phthread flag to linkerStefan Schmidt2016-06-131-1/+2
| | | | | /usr/bin/ld: class_simple.o: undefined reference to symbol 'pthread_spin_trylock@@GLIBC_2.2.5' //lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
* eina: Remove value type promisesLauro Moura2016-06-091-123/+1
| | | | All values in promises are now considered as by-pointer.
* benchmark: remove unused variableStefan Schmidt2016-06-061-1/+0
| | | | Looks like this was forgotten during some re-factoring of the code.
* benchmark: mark parameter as unused to ignore compile warningStefan Schmidt2016-06-061-1/+1
|
* eina: Fixes on promises benchmarkLauro Moura2016-06-051-4/+4
| | | | | - Updated after pointer vs value change - Updated callbacks after removal of promise argument
* eo: Fix compilation of benchmarkLauro Moura2016-06-052-3/+3
| | | | | - Missing Eo* self in method declarations. - Gcc complaining about variable-sized object being initialized.
* eina: Remove unnecessary indirection to promisesFelipe Magno de Almeida2016-06-031-27/+21
| | | | | | | | | | | | | Now when dealing with pointer types, we will not get pointer to pointer semantics in callbacks and eina_promise_owner_value_set for Eina_Promise. It will work as expected: Eina_Promise_Owner* promise = eina_promise_add(); void* p = malloc(sizeof(T)); eina_promise_owner_value_set(promise, p, &free);
* eina: Add non-allocated version to benchmarkFelipe Magno de Almeida2016-05-301-4/+75
|
* eina: Add mempool usage in benchmarkFelipe Magno de Almeida2016-05-301-5/+12
|
* eina: Add benchmarks for eina promisesFelipe Magno de Almeida2016-05-264-0/+362
|
* Revert "Automatic migration to the new eo_add syntax."Tom Hacohen2016-03-112-14/+7
| | | | This reverts commit 4f949a2757b6332306264d7f126b15ba7bfd37d4.
* Automatic migration to the new eo_add syntax.Tom Hacohen2016-03-092-7/+14
|
* Automatic migration to Eo4.Tom Hacohen2016-03-033-10/+10
| | | | | | I just ran my script (email to follow) to migrate all of the EFL automatically. This commit is *only* the automatic conversion, so it can be easily reverted and re-run.
* Eo callbacks: Migrate all of the EFL to the new event cb signatures.Tom Hacohen2016-02-291-1/+1
|
* efl: add binary mode to f(re)open() callsVincent Torri2015-12-051-1/+1
| | | | | | This allows better compatibility with Windows Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* Eo benchmarks: Add basic callbacks benchmarks.Tom Hacohen2015-11-096-0/+97
|
* Eo benchmarks: Improve benchmarks.Tom Hacohen2015-11-095-6/+58
| | | | Add more cases, and tune the number of times we test.
* Eo benchmark: Fix super benchmark.Tom Hacohen2015-11-091-1/+5
|
* Eo: Fix examples and benchmarks according to recent Eo changes.Tom Hacohen2015-09-281-1/+1
|
* Eo: Remove EO_SENTINEL.Tom Hacohen2015-09-281-1/+0
| | | | | This was never really needed because we always had the count. Removing this now because we are already breaking API and ABI.
* eina: add benchmark for crc hash in eina benchmarkvivek2015-05-074-0/+288
| | | | | | | | | | | | | | | | | Summary: The code added is actually benchmarking all hash function key with various length (8, 32, 256 bytes). Signed-off-by: vivek <vivek.ellur@samsung.com> Reviewers: Sergeant_Whitespace, cedric Reviewed By: cedric Subscribers: Sergeant_Whitespace, cedric Differential Revision: https://phab.enlightenment.org/D2217 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* eina: fix eina_bench.c compilation error.Avi Levin2015-02-091-0/+4
| | | | | | | | | | | | | | | Summary: When trying to compile eina_bench.c we get an error that say we didnt defined the variables that EINA_ARRAY_ITER_NEXT. I defined them. @fix Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1952 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* eina: removed multiple eina_init call.Srivardhan Hebbar2014-12-091-1/+0
| | | | | | | | | | | | | | | | | Summary: I observed that eina_init() was called twice in this function and eina_shutdown() once. So thought this might be a mistake, and so have cleaned it. Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com> Reviewers: devilhorns, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1748 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* eina: Refactored code and removed unwanted assignment.Srivardhan Hebbar2014-12-081-3/+1
| | | | | | | | | | | | | Summary: Removed unused assignment for length. Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com> Reviewers: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1739
* eina: corrected documentation of ecore_hash_destroy function in benchmarj.Srivardhan Hebbar2014-12-081-3/+2
| | | | | | | | | | | | | | | | | Summary: ecore_hash_destroy function return nothing, still in the documentation of the function, it was mentioned that it would return true or false. So corrected the documentation. Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com> Reviewers: devilhorns, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1738 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* eina: Remove TODO, add code to delete the modules arraykabeer khan2014-09-221-1/+6
| | | | | | | | | | | | | | | Summary: As mentioned in TODO in eina_bench.c I added the code to loop through _modules array and delete each item.: Signed-off-by: kabeer khan <kabeer.khan@samsung.com> Reviewers: cedric, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1446 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* doc: fixed typo.Daniel Juyung Seo2014-08-181-1/+1
|
* benchmarks: close mkstemp fileSebastian Dransfeld2014-08-141-1/+4
| | | | | eina_file_mkstemp returns an open filedescriptor, so we need to close it.
* autotools: Fixed 'make examples' and 'make examples-install'Savio Sena2014-07-022-2/+2
| | | | | It was broken in set-ups with ($(builddir) != $(srcdir)) && ($(builddir) != $(srcdir)/build)
* Eo: adapt benchmarks to Eo2.Daniel Zaoui2014-04-233-48/+11
|
* Eo: EO_BASE_CLASS->EO_CLASS.Tom Hacohen2014-04-101-1/+1
|
* Evas benchmark: Add .tgv extension to saved filesJean-Philippe Andre2014-04-021-1/+1
| | | | | This will make the saver actually do something, instead of just skipping the save as no extension = unknown format :)
* evas: add benchmark for TGV loader and saver.Cedric BAIL2014-04-016-0/+266
|
* eina: ignore benchmark binary.Cedric Bail2013-12-041-0/+1
|
* Revert "eo: libs,test,benchmarks Eo_Class -> Eo"Tom Hacohen2013-09-273-4/+4
| | | | | | | | | | | This reverts commit 1714fe93f42d6950171d0ab9069bfb808a62fd31. We actually want this type, it makes things clearer. Conflicts: src/tests/eo/function_overrides/function_overrides_inherit2.c src/tests/eo/function_overrides/function_overrides_simple.c src/tests/eo/suite/eo_test_class_simple.c