summaryrefslogtreecommitdiff
path: root/src/benchmarks (follow)
AgeCommit message (Collapse)Author
2019-02-13eo: remove class functions from eoMarcel Hollerbach
As in the previous commit explained, we want to get rid of class functions in eo, and make them just c functions right away. This commit removes the class parameter from the eo_class_function_set call, and adjusts the tests to not depend on class functions anymore. Class functions are now not tested anymore, tests that used them as a way to test *things* are adjusted to test them now with object functions, tests that just tested the working of class functions are dropped. This fixes T7675. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7902
2019-02-07eo: change API call of efl_class_functions_setMarcel Hollerbach
The next commit will bring support for something like reflection. This commit prepares the whole tree for getting another argument in efl_class_functions_set. ref T7681 Differential Revision: https://phab.enlightenment.org/D7882
2018-12-17meson: Enable dev flags for cppLauro Moura
Had to add a pragma around CityHash64 to make it work with -f-visibility=hidden Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7466
2018-12-04benchmarks - focus tree - fix unused param warnCarsten Haitzler (Rasterman)
2018-12-03elementary: add a benchmark for focus widget tree interationMarcel Hollerbach
The benchmark checks how long it takes to move focus through a few nested scrollers. Differential Revision: https://phab.enlightenment.org/D7363
2018-12-03meson: fix running of benchmarkMarcel Hollerbach
Differential Revision: https://phab.enlightenment.org/D7362
2018-11-09evas mempool bench - fix warning about unused paramCarsten Haitzler (Rasterman)
unused in some ifdefs - so make as unused.
2018-11-09evas list benchmarks - fix warning about if guardingCarsten Haitzler (Rasterman)
2018-11-09eina bench array - fix warning about if case not guardingCarsten Haitzler (Rasterman)
fix warning noise... no change in code function though.
2018-11-09eina bech - hash - warn - fix type for hash func to have proper typesCarsten Haitzler (Rasterman)
wrap cityhash with proepr typed hash gen func. fix warning
2018-10-02here comes mesonMarcel Hollerbach
a new shiny buildtool that currently completes in the total of ~ 4 min.. 1 min. conf time 2:30 min. build time Where autotools takes: 1:50 min. conf time 3:40 min. build time. meson was taken because it went quite good for enlightenment, and is a traction gaining system that is also used by other mayor projects. Additionally, the DSL that is defined my meson makes the configuration of the builds a lot easier to read. Further informations can be gathered from the README.meson Right now, bindings & windows support are missing. It is highly recommented to use meson 0.48 due to optimizations in meson that reduced the time the meson call would need. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com> Differential Revision: https://phab.enlightenment.org/D7012 Depends on D7011
2018-03-20efl: use efl_add_ref to create objects which have no parentCedric BAIL
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
2018-01-18all: Simplify definition of EAPIVincent Torri
This will help in the transition from Autotools to Meson. This has been tested on Windows for which EFL_XXX_BUILD were first introduced.
2018-01-02benchmarks: eine: include header for using time()Stefan Schmidt
../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.
2017-08-15eina: remove tests and benchmark for long dead mempool.Cedric BAIL
2016-11-07eina: remove benchmark for Eina_Promise.Cedric BAIL
2016-09-09Eo: Change the way functions are registered to classesTom Hacohen
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.
2016-09-08Eo: Make function overrides implicit.Tom Hacohen
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.
2016-09-06Eo benchmarks: Fix according to recent Eo changes.Tom Hacohen
Thanks to Stefan for the report.
2016-08-30efl callbacks: update some events calls to no longer trigger legacy callbacksdevs/vitorsousa/update_event_callsVitor Sousa
2016-08-30Efl object: Rename Eo_Event -> Efl_Event.Tom Hacohen
This is the last step of the Eo renaming efforts.
2016-08-26Efl Object: remove legacy callback calls from event_callback_callVitor Sousa
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.
2016-08-23Efl object: Don't pass events to eo class creation.Tom Hacohen
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.
2016-08-15Eo: Finish the renaming of Eo to the EFL.Tom Hacohen
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.
2016-08-11Change the EFL to follow the new Eo rename.Tom Hacohen
2016-06-20Adjust the code according to the eo event stop changes.Tom Hacohen
This was changed in the previous commit.
2016-06-13benchmark: eo: add missing phthread flag to linkerStefan Schmidt
/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
2016-06-09eina: Remove value type promisesLauro Moura
All values in promises are now considered as by-pointer.
2016-06-06benchmark: remove unused variableStefan Schmidt
Looks like this was forgotten during some re-factoring of the code.
2016-06-06benchmark: mark parameter as unused to ignore compile warningStefan Schmidt
2016-06-05eina: Fixes on promises benchmarkLauro Moura
- Updated after pointer vs value change - Updated callbacks after removal of promise argument
2016-06-05eo: Fix compilation of benchmarkLauro Moura
- Missing Eo* self in method declarations. - Gcc complaining about variable-sized object being initialized.
2016-06-03eina: Remove unnecessary indirection to promisesFelipe Magno de Almeida
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);
2016-05-30eina: Add non-allocated version to benchmarkFelipe Magno de Almeida
2016-05-30eina: Add mempool usage in benchmarkFelipe Magno de Almeida
2016-05-26eina: Add benchmarks for eina promisesFelipe Magno de Almeida
2016-03-11Revert "Automatic migration to the new eo_add syntax."Tom Hacohen
This reverts commit 4f949a2757b6332306264d7f126b15ba7bfd37d4.
2016-03-09Automatic migration to the new eo_add syntax.Tom Hacohen
2016-03-03Automatic migration to Eo4.Tom Hacohen
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.
2016-02-29Eo callbacks: Migrate all of the EFL to the new event cb signatures.Tom Hacohen
2015-12-05efl: add binary mode to f(re)open() callsVincent Torri
This allows better compatibility with Windows Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09Eo benchmarks: Add basic callbacks benchmarks.Tom Hacohen
2015-11-09Eo benchmarks: Improve benchmarks.Tom Hacohen
Add more cases, and tune the number of times we test.
2015-11-09Eo benchmark: Fix super benchmark.Tom Hacohen
2015-09-28Eo: Fix examples and benchmarks according to recent Eo changes.Tom Hacohen
2015-09-28Eo: Remove EO_SENTINEL.Tom Hacohen
This was never really needed because we always had the count. Removing this now because we are already breaking API and ABI.
2015-05-07eina: add benchmark for crc hash in eina benchmarkvivek
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>
2015-02-09eina: fix eina_bench.c compilation error.Avi Levin
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>
2014-12-09eina: removed multiple eina_init call.Srivardhan Hebbar
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>
2014-12-08eina: Refactored code and removed unwanted assignment.Srivardhan Hebbar
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