Improve application launching speed 47/57547/7
authorminho.sun <minho.sun@samsung.com>
Thu, 21 Jan 2016 04:49:48 +0000 (13:49 +0900)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 18 Apr 2016 15:23:28 +0000 (16:23 +0100)
commit24c8baf69f0196d4a9a6ad746b370d026532a585
treec096f1176fb51eca5b41f95cbe37ba56001837b2
parentc1ab3b4c9ffa2172d332b85b94546b5d5f730c28
Improve application launching speed

To improve app launching speed on Tizen (using launchpad), Use -fPIE option instead -fPIC and attach DALI_EXPORT_API in front of each example's main function.

This is the compare result between before and after patch.
(On hawkP 2.4 / using hello-dalidemo that has one pushbutton on stage)

|    before Patch     |     After Patch     |
---------------------------------------------
|   hello-dalidemo    |   hello-dalidemo    |
---------------------------------------------
|   AVG   MIN   MAX   |   AVG   MIN   MAX   |
|  1134  1060  1188   |   291   250   337   |

After patch, launching speed drops to 30% of before.

Change-Id:I51a4f673d016f9278f867167dc2ff9f407ea6e7e
53 files changed:
build/tizen/CMakeLists.txt
build/tizen/examples/CMakeLists.txt
examples/atlas/atlas-example.cpp
examples/benchmark/benchmark.cpp
examples/blocks/blocks-example.cpp
examples/bubble-effect/bubble-effect-example.cpp
examples/builder/examples.cpp
examples/buttons/buttons-example.cpp
examples/compressed-texture-formats/compressed-texture-formats-example.cpp
examples/cube-transition-effect/cube-transition-effect-example.cpp
examples/dissolve-effect/dissolve-effect-example.cpp
examples/effects-view/effects-view-example.cpp
examples/gradients/gradients-example.cpp
examples/hello-world/hello-world-example.cpp
examples/homescreen-benchmark/homescreen-benchmark.cpp
examples/image-scaling-and-filtering/image-scaling-and-filtering-example.cpp
examples/image-scaling-irregular-grid/image-scaling-irregular-grid-example.cpp
examples/image-view-alpha-blending/image-view-alpha-blending-example.cpp
examples/image-view-pixel-area/image-view-pixel-area-example.cpp
examples/image-view-svg/image-view-svg-example.cpp
examples/image-view/image-view-example.cpp
examples/item-view/item-view-example.cpp
examples/line-mesh/line-mesh-example.cpp
examples/logging/logging-example.cpp
examples/magnifier/magnifier-example.cpp
examples/mesh-morph/mesh-morph-example.cpp
examples/mesh-sorting/mesh-sorting-example.cpp
examples/metaball-explosion/metaball-explosion-example.cpp
examples/metaball-refrac/metaball-refrac-example.cpp
examples/model3d-view/model3d-view-example.cpp
examples/motion-blur/motion-blur-example.cpp
examples/motion-stretch/motion-stretch-example.cpp
examples/native-image-source/native-image-source-example.cpp
examples/new-window/new-window-example.cpp
examples/page-turn-view/page-turn-view-example.cpp
examples/point-mesh/point-mesh-example.cpp
examples/popup/popup-example.cpp
examples/radial-menu/radial-menu-example.cpp
examples/refraction-effect/refraction-effect-example.cpp
examples/scripting/scripting-example.cpp
examples/scroll-view/scroll-view-example.cpp
examples/shadow-bone-lighting/shadow-bone-lighting-example.cpp
examples/size-negotiation/size-negotiation-example.cpp
examples/super-blur-bloom/super-blur-bloom-example.cpp
examples/text-field/text-field-example.cpp
examples/text-fonts/text-fonts-example.cpp
examples/text-label-emojis/text-label-emojis.cpp
examples/text-label-multi-language/text-label-multi-language-example.cpp
examples/text-label/text-label-example.cpp
examples/text-message-field/text-message-field-example.cpp
examples/textured-mesh/textured-mesh-example.cpp
examples/tilt/tilt-example.cpp
packaging/com.samsung.dali-demo.spec