64 research outputs found

    Towards energy-aware coding practices for Android

    Get PDF
    This paper studies how the use of different coding practices when developing Android applications influence energy consumption. We consider two common Java/Android programming practices, namely string operations and (non) cached image loading, and we show the energy profile of different coding practices for doing them. With string operations, we compare the performance of the usage of the standard String class to the usage of the StringBuilder class, while with our second practice we evaluate the benefits of image caching with asynchronous loading. We externally measure energy consumption of the example applications using the Trepn profiler application by Qualcomm. Our preliminary results show that selected coding practices do significantly affect energy consumption, in the particular cases of our practice selection, this difference varies between 20% and 50%.This work is funded by the Slovak Research and Development Agency under the contract No. SK-PT2015-0037 and by the Portugal-Slovakia Cooperation FCT Project (Ref. 441), and by the ERDF – European Regional Development Fund through the Operational Programme for Competitiveness and Internationalisation - COMPETE 2020 Programme and by National Funds through the Portuguese funding agency, FCT – Fundacão para a Ciência e a Tecnologia within project POCI-01-0145- FEDER-016718

    Nutrient content in leaves of hydroponic lettuce (Lactuca sativa convar. capitata L.) on higher magnesium and nitrogen nutrient treatment

    Get PDF
    The aim of this study was to assess how the steadily increasing concentration of a physiologically important element, magnesium, can affect the content of certain nutritional elements in the leaves of the hydroponic cultivated lettuce (Lactuca sativa convar. capitata L.). The nutrient elements nitrogen, magnesium and calcium were determined in the leaves of lettuce after supplementation with magnesium. Increasing magnesium concentration in the nutrient solution caused decrease of nitrogen content of dry matter in the leaves from 4.94 m/m% to 4.39 m/m%. The concentration of magnesium increased from 0.303 m/m% to 0.571 m/m%, and that of calcium decreased from 0.723 m/m% to 0.358 m/m%, in the average of 4 repetitions. Increasing concentration of magnesium can be the consequence of increased amounts of magnesium supplemented while decrease of nitrogen and calcium can be explained by the phenomenon of attenuation
    corecore