Blog of applications efficiency

  • Why should you care about your application's impact on the end user's battery life?

    Why should you care about your application's impact on the end user's battery life?

    TL ; DR Smartphones’ battery life has been plateauing for a few years. Manufacturers offer batteries with a greater capacity, users state battery life is one of the main purchasing criteria, and, yet, the average battery life of devices doesn’t increase. Why that, you may ask? Because hardware itself is more powerful, thus more energy-intensive; and also because applications consume more and more resources. As a consequence, in order to improve the way users perceive their devices, manufacturers point at the most energy-intensive applications, encouraging developers to be more virtuous in terms of development.

    Read more…
  • Android Memory: the Ultimate Metric Guide

    Android Memory: the Ultimate Metric Guide

    Because we care about your applications efficiency, we introduce you to the ultimate metric guide to manage your application’s memory on Android devices. Memory syllabus Pages: Blocks used to retrieve data from disk to memory. Main part of virtual memory management. Most of the time page size is 4kb. Private / Shared memory: Private memory is composed of pages that are only used by the process. Shared memory is composed of pages which are used by other processes.

    Read more…
  • Is Twitter Lite really that light for your battery life?

    Is Twitter Lite really that light for your battery life?

    Earlier this spring, Twitter launched Twitter Lite, which is, as the name suggests, a lighter alternative to its mobile application. We have seen a lot of users wondering if Twitter Lite was really honoring its promises: is it really that Lite? Does it actually consume less data? Does it lower the impact on the smartphone’s battery for real? Since GREENSPECTOR provides a benchmarking software and a way to quantify energy consumption of mobile and web applications, we wanted to find out by ourselves.

    Read more…
  • Measuring the energy consumption of IoT: using Arduino to measure Raspberry!

    Measuring the energy consumption of IoT: using Arduino to measure Raspberry!

    Battery life is one of the important criteria you must test during IoT (Internet of Things) development. Not measuring the energy consumption of your platform can lead to potential issues: User dissatisfaction Decrease in battery lifespan Increase in platform maintenance cost So, how can you measure energy? We explained several times on this blog how to measure energy with software only, especially on Android. But measurement on IoT platforms is not so simple: there is no embedded energy probe, no API… You will need to conduct hardware measurements.

    Read more…
  • First steps with UI Automator

    First steps with UI Automator

    UI Auto…what ? Like its name states it, UI Automator is a framework provided by Android allowing to execute User Interface (UI) functional tests in an automated way. This framework lets you interact with visible elements of a smartphone screen: click a button, fill a text field, scroll down, etc. Thanks to UI Automator, you can, for instance, launch an application, fill a login field, navigate in menus… Let’s write together a first test scenario with UI Automator !

    Read more…