diff options
author | Vostokov Sergey <s.vostokov@samsung.com> | 2013-12-05 21:05:44 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2013-12-05 21:08:57 +0900 |
commit | 47822dc344fa82d01d76177e5b14b61be3547a29 (patch) | |
tree | 13c4b2f08e270fda02e2f646b94568551b6f99c9 /m4/efl_pkg_config.m4 | |
parent | 763ce862527104a81e7fd991bef19d35b65e364c (diff) |
evas - Clip mark performance improvement
stable release - cherry-pick me!
We propose a patch that reduces graph traversal work in
evas_object_child_map_across_mark(). It fixes a few particular
slowdowns around Tizen applications, including 0.6 seconds slowdown.
evas_object_child_map_across_mark() does not seem to need to
recursively call itself on the same object many times. Yet we have
noticed that in some scenarios it repeatedly traverses the same
subtrees of objects over and over again, whenever there is more than
one way of reaching these subtrees. In the production issue mentioned
above, certain elm_object_part_content_set() call results in millions
of recursive calls of evas_object_child_map_across_mark(), taking
~0.6sec total.
We propose to allocate a hash table during top-level call to store all
objects visited, and return from sub-calls instantly whenever we are
called over an object we already visited.
Diffstat (limited to 'm4/efl_pkg_config.m4')
0 files changed, 0 insertions, 0 deletions