Blog of applications efficiency

  • 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…
  • Should you switch your wallpaper to affect less the battery life of your smartphone?

    Should you switch your wallpaper to affect less the battery life of your smartphone?

    Colors influencing power consumption of smartphones and tablets is a debate that never gets old. We hear a lot of preremptory assertions (like «pick a black wallpaper to consume less») which, most of the time, don’t take into account underlying technologies - though they are very diverse - or specific studies about the topic. So, as per usual, as a mobile-device-energy-measurement freak, I wanted to know more. Why conducting this study?

    Read more…