<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Pushkar Kolhe on Medium]]></title>
        <description><![CDATA[Stories by Pushkar Kolhe on Medium]]></description>
        <link>https://medium.com/@pushkarkolhe?source=rss-d0f4e0a08d49------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*XLIVEUsv2-gNymmt.</url>
            <title>Stories by Pushkar Kolhe on Medium</title>
            <link>https://medium.com/@pushkarkolhe?source=rss-d0f4e0a08d49------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 04:23:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pushkarkolhe/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Android 7 vs Android 8: Performance Testing]]></title>
            <link>https://medium.com/moquality/android-7-vs-android-8-performance-testing-a9df2a7cc234?source=rss-d0f4e0a08d49------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9df2a7cc234</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[game-testing]]></category>
            <dc:creator><![CDATA[Pushkar Kolhe]]></dc:creator>
            <pubDate>Tue, 10 Oct 2017 17:44:41 GMT</pubDate>
            <atom:updated>2017-10-30T18:52:46.318Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s well known that mobile games are resource hungry apps. That’s why they become the best candidate for testing underlying system performance. Google has made lots of improvements in the Android 8 Run Time over Android 7, we decided to test it out with two popular games Flappy Bird and Super Mario.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F8I_BNw9uyuA%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D8I_BNw9uyuA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F8I_BNw9uyuA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/fc87e3051cb00acbe6ef1f65f3dac626/href">https://medium.com/media/fc87e3051cb00acbe6ef1f65f3dac626/href</a></iframe><p>When it come to performance the main parameters to test against are fps, cpu and memory consumption. This is what we found:</p><p>From the graphs for FlappyBird we see that the CPU usage is around 18% and memory consumption is around 80 MB in Android 7. For a simple game like Flappy bird we can see comparable performance in Android 8. We tested it on a pre-release Android 8 when it showed jagged rendering.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*E9NiROWbe42DOESS." /><figcaption><strong>Flappy Bird on Google Pixel running Android 7</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JGthFxWzxhv_0YZD." /><figcaption><strong>Flappy Bird on Google Pixel running Android 8</strong></figcaption></figure><p>From the graphs for SuperMario we can see the same, the CPU and memory consumptions is almost similar. However the rendering profile is slightly smoother.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zcggplmGR5ak0I4L." /><figcaption><strong>Super Mario on Google Pixel running Android 7</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EuaFYU3GXm3KUpP1." /><figcaption><strong>Super Mario on Google Pixel running Android 8</strong></figcaption></figure><p>On the <a href="https://developer.android.com/about/versions/oreo/android-8.0.html">Android 8 improvements feature list</a>, Google doesn’t specifically mention any new improvements in their graphics rendering unit. However they do say that Android RunTime is a lot faster. Along with that Android 8.0 correctly identifies apps that are running background services and <em>are not</em> connected to what you’re doing on the phone. This probably helps games utilize all the resources it can.</p><p>We are working towards a more detailed analysis, which will give us more insights into potential differences. We will also run these tests on several games which utilize a lot of phone resources where we will be able to tell if Android 8 is actually better than Android 7 or not.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9df2a7cc234" width="1" height="1" alt=""><hr><p><a href="https://medium.com/moquality/android-7-vs-android-8-performance-testing-a9df2a7cc234">Android 7 vs Android 8: Performance Testing</a> was originally published in <a href="https://medium.com/moquality">MoQuality</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Testing Games on Android using Deep Reinforcement Learning]]></title>
            <link>https://medium.com/moquality/testing-games-on-android-18c1f040a94a?source=rss-d0f4e0a08d49------2</link>
            <guid isPermaLink="false">https://medium.com/p/18c1f040a94a</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[game-testing]]></category>
            <dc:creator><![CDATA[Pushkar Kolhe]]></dc:creator>
            <pubDate>Wed, 26 Apr 2017 17:59:13 GMT</pubDate>
            <atom:updated>2017-04-27T03:27:02.329Z</atom:updated>
            <content:encoded><![CDATA[<p>DeepMind was able to show that deep learning networks can be effectively used to train agents to play games. This is significant because the input their learner takes in is the game screen and a set of controls the agent can perform. In previous work in this area, researchers had to hand extract features which helped the AI agent learn the game. With deep learning that process is automated in the deep learning network. The network learns important features and learns policies that lead to a good score.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FZpCjxRXjy3_XRIkhppcPA.png" /><figcaption>Score detection on a Game Screen</figcaption></figure><p>There are four main parts of any Reinforcement Learning (RL) algorithm — states, actions, transition function and the reward function. When you use the game screen as input the state space of the problem is really big. A standard RL approach do not scale particularly well with the size of the state space and often require extensive engineering on the part of the designer to minimize the search space. To alleviate this problem, we use use human demonstrations to guide the exploration of the bot. How this RL algorithm works is a part of another series of article.</p><p>In this series I will cover the first part of building a system towards automating game testing — reading scores from the game.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FHbD29mvsDkk%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DHbD29mvsDkk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FHbD29mvsDkk%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/94db27800c5a8eb305de55df58ae5ec2/href">https://medium.com/media/94db27800c5a8eb305de55df58ae5ec2/href</a></iframe><p>The score of the game is the reward to the RL agent. The higher the score, the better the AI agent is playing the game. In DeepMind’s ATARI games, or for that matter, other game interfaces we can directly query the game for the score. However this is not possible when a game is being played on Android.</p><p>OpenAI solved this problem in it’s <a href="https://universe.openai.com/">Universe</a> by developing an OCR for reading score of games. In their scenario games were running inside a docker container. They get an image of the game inside the docker and process it for finding a score. Similarly, we can stream a video from any Android device and recognize the score in real time. Our OCR detection algorithm is a supervised learning classification algorithm that has a classification rate of almost 98% and can classify the score at 70fps.</p><p>This allows us to feed the score to a reinforcement learning algorithm that is running in parallel and learning to play the game. This reinforcement learning algorithm learns how to play a game, in this case, flappy bird. When the agent has learnt the game sufficiently we can run the agent across multiple phones and carry out stress testing and performance testing.</p><p>Recent advances in Deep Reinforcement Learning has made it possible to automate game testing. And we are on it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=18c1f040a94a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/moquality/testing-games-on-android-18c1f040a94a">Testing Games on Android using Deep Reinforcement Learning</a> was originally published in <a href="https://medium.com/moquality">MoQuality</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>