summaryrefslogtreecommitdiff
path: root/src/benchmarks/eina (unfollow)
AgeCommit message (Collapse)Author
7 min.eina bench - have default values inside benc dtoaCarsten Haitzler (Rasterman)
addess CID 1400856
2020-09-01benchmarks: specify this outside extern "C"Marcel Hollerbach
uint128 is defined as a c++ specific type.
2020-07-06benchmark: eina: remove outdated ecore_hashStefan Schmidt
Ecore_hash is an ancestor of eina_hash and not used anywhere anymore. We simply forgot to remove it from our benchmark utility. Together with ecore_hash we are removing ecore_strings, which uses it, and the corresponding benchmark files. Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D12042
2020-06-17benchmarks: eina: make sure we do not divide by zeroStefan Schmidt
Make sure we do not divide by i if it is zero here. CID: 1400768 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11956
2020-05-26benchmarks: use EFL_BUILD=1 in c_argsStefan Schmidt
Original patch by Vincent Torri. Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11853
2020-05-25benchmark: fix ident in meson.build fileStefan Schmidt
Use two spaces indent as in other files. Differential Revision: https://phab.enlightenment.org/D11852 Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>
2020-05-18Revert "Fix EAPI definition by defining EFL_BUILD for each built DLL"Carsten Haitzler (Rasterman)
This reverts commit 3ade45cbc82bea1772c7ad1afb7e1ba5dd67d930.
2020-05-18Fix EAPI definition by defining EFL_BUILD for each built DLLVincent Torri
Summary: EAPI must be defined to dllexport when building DLL, and to dllimport when using these DLL. To achieve this, define EFL_BUILD for each library and module, and set DLL_EXPORT unconditionally. Static library are and will be not supported Test Plan: compilation Reviewers: zmike, raster, jptiz Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11834
2020-05-07Use __func__ C99 identifier instead of __FUNCTION__ compiler extensionVincent Torri
Summary: see http://www.open-std.org/JTC1/SC22/wg14/www/docs/n1124.pdf section 6.4.2.2 page 52 Test Plan: compilation Reviewers: raster, devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11785
2020-01-31Fix build with gcc 10 (which has -fno-common enabled by default).Tom Callaway
EFL failed to build from source in Fedora Rawhide as a result of the update to GCC 10. GCC 10 enables -fno-common by default, and this found three issues in EFL: # The eina benchmark code defined int key_size in a header that was included in multiple places. # The elementary test code defines the "dt1", "dt2", "dt3" vars in two code files which are compiled together (but these variables do not appear to be used globally) # The eio test code defines the "ee" var in two code files which are compiled together (but this variable does not appear to be used globally) I've fixed these issues and confirmed locally that the code builds again in Fedora. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11259
2019-10-18benchmarks/eina: fix possible div by zero in ecore_hashMike Blumenkrantz
Summary: CID 1400768 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10397
2019-09-13meson.build: allow to disable tiff evas loaderBoris Faure
Summary: @fix eina benchmarks: ssize_t is defined in <sys/types.h> Reviewers: #reviewers, bu5hm4n, zmike, stefan_schmidt Reviewed By: zmike Subscribers: vtorri, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9927
2019-09-03eina benchmarks: remove dereference of nullShinwoo Kim
Summary: A static analysis tool detects return value of malloc could be NULL and its following lines could have derefernece of NULL case. Reviewers: bu5hm4n, zmike, Hermet Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9812
2019-06-18autotools: REMOVAL!Marcel Hollerbach
Get your seatbelt fastend! It is happening! AUTOTOOLS IS GONE NOW! All praise to meson! This time the final version, ci has been adjusted, and now does not try anymore to build a removed buildsystem. However, the scripts in there need cleaning up. Differential Revision: https://phab.enlightenment.org/D9027
2019-06-18Revert "autotools: REMOVAL!"Marcel Hollerbach
This reverts commit e8c69667b01e2795c1e4ead0536652f935ffa674. git push on a wrong branch, sorry. This will land today, but not now.
2019-06-18autotools: REMOVAL!Marcel Hollerbach
Get your seatbelt fastend! It is happening! AUTOTOOLS IS GONE NOW! All praise to meson! Differential Revision: https://phab.enlightenment.org/D9027
2019-05-22benchmarks: Fix copy-paste errorChristopher Michael
Coverity reports this as a copy-paste error, and checking the code it certainly looks that way, so lets call the proper hash function here Fixes CID1401052 @fix
2019-05-15meson: enforce 61s timeout for tests, remove explicit timeouts from build filesMike Blumenkrantz
unit tests automatically abort with info after 60s, and tests should be run with an appropriate timeout to avoid conflict with the test runner's default 30s timeout set explicit timeout in eio test for now because there's still frequent bugs here Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8894
2019-05-02eina_bench_stringshare: Fix resourcce leakChristopher Michael
Summary: Coverity reports that we leak the return from eina_counter_dump here, so store the result, print it out, then we can free it. Fixes CID1400975 @fix Depends on D8767 Reviewers: raster, cedric, zmike, bu5hm4n, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8768
2019-03-27eina benchmark: fix warnings on Windows 64 bitsVincent Torri
Summary: long is always a 32 bits type on Windows Test Plan: compilation Reviewers: raster, zmike, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8482
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-06meson: fix running of benchmarkMarcel Hollerbach
Differential Revision: https://phab.enlightenment.org/D7362
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-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-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-05eina: Fixes on promises benchmarkLauro Moura
- Updated after pointer vs value change - Updated callbacks after removal of promise argument
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
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-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
2014-12-08eina: corrected documentation of ecore_hash_destroy function in benchmarj.Srivardhan Hebbar
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>
2014-09-22eina: Remove TODO, add code to delete the modules arraykabeer khan
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>
2014-08-18doc: fixed typo.Daniel Juyung Seo
2014-07-02autotools: Fixed 'make examples' and 'make examples-install'Savio Sena
It was broken in set-ups with ($(builddir) != $(srcdir)) && ($(builddir) != $(srcdir)/build)
2013-12-04eina: ignore benchmark binary.Cedric Bail
2013-09-26eina: improve benchmark logic to be able to choose which one to run.Cedric Bail
Note: Eina_Hash benchmark is not really matching all our usecase. We need a better tests that would expand the bench with a wider range of key size. Basically giving a 3d dimension to our gnuplot. Don't know if it is doable.