Jump to content

Android Game Analysis with Arm Mobile Studio

STF News

Recommended Posts


Game performance can vary between different Android devices, because they use different chipsets, and GPUs based on different Mali architectures. Your game may render at 60fps on a Galaxy S20+, but how will it perform on the Galaxy A51 5G? The A51 5G has good specs, but you may want to consider runtime changes based on the underlying hardware if your game is pushing the limits on flagship hardware. Similarly, you may need to optimize your game to run at lower frame rates on the Galaxy J and Galaxy M models, which are often found in emerging markets.

Players quickly lose interest in a game if they experience drops in frame rate, or slow load times. They won’t play your game on long journeys if it drains battery or overheats the device. To reliably deploy a game globally, and ensure a great user experience, you need to performance test on a wide range of Android devices.

The Arm Mobile Studio family of performance analysis tools provide games studios with a comprehensive game analysis workflow for Android, giving information and advice at appropriate levels of detail, for technical artists, graphics developers, performance analysts and project leaders.



Monitor CPU and GPU activity

Arm Streamline captures a comprehensive profile of your game running on an unrooted Android device, and visualizes the CPU and GPU performance counter activity as you run your test scenario. You can see exactly how the CPU and GPU workloads are handled by the device, which helps you locate problem areas that might explain frame rate drops or thermal problems.



However, spotting performance issues using Streamline can be time-consuming, unless you know exactly what you’re looking for. Your team may have varying levels of experience or expertise, so interpreting this data can be difficult.

Introducing Performance Advisor

Arm Performance Advisor is a lightweight reporting tool that transforms a Streamline capture into a simple report that describes how your game performed on the device, and alerts you to problem areas that you should consider optimizing. It can be used by your whole team on a regular basis, to spot trends and diagnose problems early in the development cycle, when you’re best placed to do something about it.


Performance Advisor reports the application frame rate, CPU load and GPU load, as well as content metrics about the workload running on the Mali GPU. If it detects problematic areas, Performance Advisor tells you whether it’s the CPU or GPU that is struggling to process your application, and links to optimization advice to help you rectify it.



A frame rate analysis chart shows how the application performed over time. The background color of the chart indicates how the game performed. When you’re hitting your target frame rate, the chart background is green. In this example, most of the chart is blue, telling us the GPU in the device is struggling to process fragment workloads.



Performance Advisor can capture screenshots of your game, at the point that FPS drops below a given threshold. This helps you to identify which content might be causing the problem. This provides valuable context when debugging and can allow some common elements to be spotted if repeated slowdowns occur. You can then investigate these frames more closely with Graphics Analyzer, to see exactly which graphics API calls were executing at that point.

If you want to separately evaluate how different parts of the game performed, for example, loading screens, menu selection, and different levels or gameplay scenarios, you can annotate these regions in your game so that Performance Advisor can report data for them independently.

Performance budgeting

Because they have different performance expectations, it’s a good idea to set your own performance budgets for each device. For example, if you know the top frequency for the GPU in the device, and you have a target frame rate, you can calculate the absolute limit of GPU cost per frame.

GPU cost per frame = GPU top frequency / Target frame rate

When you generate a report with Performance Advisor, you can pass in your performance budgets, which are then shown in the charts, so you can easily see if you’ve broken one.



In the example below, we can see correlation between high numbers of execution engine cycles and drops in FPS. Performance Advisor tells us that the GPU is busy with arithmetic operations, and that the shaders could be too complex. The report provides a link to an advice page on the Arm Developer website, that explains how to reduce arithmetic load in shaders.



More charts include key performance metrics such as CPU cycles per frame and GPU bandwidth per frame, reported for read and write access. There are also charts showing the content workload , draw calls, primitives and pixels per frame, and the level of overdraw per pixel.

Download an example Performance Advisor report

Automated performance analysis

It’s far easier to fix problems as they arise than is it to patch problems later on. Performance Advisor’s key application performance metrics are useful to monitor over daily runs, to see how changes to your application affect performance during development.



Arm Mobile Studio Professional includes headless CI support - so you can easily deploy large-scale automated performance testing across multiple devices. Using a device farm with a CI workflow, you can generate performance data and optimization advice automatically, every night, for several Android devices. As you check in code, you can easily monitor how your content performs against your performance budgets over time, and raise alerts when you start to approach or break those budgets.

The Professional Edition also enables you to build bespoke data dashboards from the data that been collected. Performance Advisor's machine-readable JSON reports can be imported into any JSON-compatible database and visualization platform, such as the ELK stack. Compare metrics between test runs to quickly determine which changes impacted performance, and which type of workload is the likely cause for a regression. Query the data and compare performance against specific targets to identify optimization next steps.

Read more about how to integrate Arm Mobile Studio into a CI workflow on the Arm Developer website.


Arm publishes various resources on their developer website, to help you optimize performance:

Get Arm Mobile Studio

Arm Mobile Studio is free to use for interactive performance analysis. To use it headlessly in your CI workflow, you need an Arm Mobile Studio Professional license.

Download Arm Mobile Studio

View the full blog at its source

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Topics

    • By BGR
      One of the most exciting Galaxy Z Fold 4 rumors to date concerns the foldable’s specs. More specifically, the phone’s System-on-Chip (SoC). The Fold 4 and Flip 4 will feature Qualcomm’s new Snapdragon 8 Plus Gen 1 SoC rather than the regular 8 Gen 1 or the Exynos 2200. And the Fold 4 should deliver tremendous performance gains thanks to that. That’s good news for anyone worried about the chips that powered the Galaxy S22 series.
      Rumors about chip choices for Android flagships coming out in the second half of the year shouldn’t be that exciting. In most years, the Android flagships launching in the second half would feature the same SoC as the phones that were released in the previous six months.
      But the Galaxy S22 performance scandal hurt Samsung earlier this year, leading to speculations that Samsung would abandon the Exynos 2200 in favor of Qualcomm’s Snapdragon.
      Galaxy S22 throttling scandal
      In some years, Qualcomm releases improved variants of the SoCs that power Android flagships released in the first half of the year. 2022 is one such year, with Qualcomm delivering the Snapdragon 8 Plus Gen 1 to replace the regular 8 Gen 1 model.
      That was even better news for Samsung fans looking to buy the Fold 4 or Flip 4. And rumors said all 2022 foldables will feature the newest Snapdragon 8 Plus Gen 1 variant. Even early benchmarks leaked, suggesting the new processor will be faster than the previous variant. Reports also claimed the new chip will not overheat as much.
      Qualcomm Snapdragon 8 Plus Gen 1 chip. Image source: Qualcomm The Galaxy S22 throttling issue came from Samsung’s desire to prevent overheating and battery life issues on the handset. The software reduced the chip’s peak performance, except for benchmark apps, where Samsung was caught cheating. It’s the Exynos 2200 variant of the Galaxy S22 phones that suffered from throttling the most, not the Snapdragon 8 Gen 1 model.
      Still, there’s another reason to cheer for the 8 Plus Gen 1. Qualcomm moved production from Samsung to TSMC for the new SoC.
      Galaxy Z Fold 4’s Snapdragon 8 Plus Gen 1 performance leaked
      Samsung will unveil the Galaxy Z Fold 4 and Flip 4 next Wednesday. The phones will hit stores a few weeks later. Once that happens, users will be able to judge for themselves the performance of the new Snapdragon 8 Plus Gen 1 chip. And we’ll see plenty of reports detailing the phones’ performance and throttling.
      But we have a new rumor to look at until then, which teases massive performance gains for the two handsets.
      The Snapdragon 8 Plus Gen 1 CPU will be 15% faster when it comes to CPU performance, according to the tweet above. We assume the speed difference concerns last year’s Galaxy Z Fold 3. But the leaker doesn’t specify the other device/SoC in the comparison. Should the speed gains concern the Galaxy S22, then the Fold 4’s performance would be even more impressive.
      The leaker also says that the GPU will deliver a tremendous jump, rising by nearly 60%. The NPU would also be 68% faster than the reference model. Again, we’re assuming it’s the Fold 3. That’s the only way to present these performance gains.
      The leaker addressed other Galaxy Fold 4 features, not just the Snapdragon 8 Plus Gen 1 performance. The foldable phone will feature a 4,400 mAh battery that supports 25W charging. That’s enough for the phone to reach a 50% charge in half an hour.
      Finally, the Fold 4 will feature a 120Hz display with 1,000 nits brightness and Victus+ protection on the front and back.
      The post Galaxy Z Fold 4’s Snapdragon 8 Plus Gen 1 chip performance leaked appeared first on BGR.
      View the full article
    • By STF News
      View the full blog at its source
    • By BGR
      There’s no point comparing the $429 iPhone SE 3 with the $1,199.99 Galaxy S22 Ultra, some might say, even though both of them are 2022 smartphones. The former is a mid-range device, the cheapest new iPhone that you can buy from Apple. The latter is Samsung’s best possible Galaxy S22 model and the revival of the Note series.
      However, the $429 iPhone SE 3 absolutely obliterates the $1,200 Galaxy S22 Ultra when it comes to power and performance. And that’s an important detail, considering that Samsung won’t do any better than that in 2022. When you think of all the Galaxy S22 controversies and issues we saw so far, the iPhone SE 3 looks even better.
      Don't Miss: Wednesday’s deals: $50 Echo Buds, secret Fire TV deal, Oral-B sale, Samsung monitors, more iPhone SE 3 vs. Galaxy S22 Ultra specs comparison
      There’s no denying that the Galaxy S22 Ultra offers various features that will appeal to buyers looking for a flagship experience. We’re looking at a large, bright OLED display that supports 120Hz refresh rates. The phone features a great build quality and an advanced camera module on the back. Then there’s the built-in S Pen, a feature that Note fans will love.
      The iPhone SE 3 also comes with great build quality. But the handset features the same design as the 2017 iPhone. It still has large bezels and a 60Hz LCD screen with a lower resolution than the Galaxy S22. On the back, there’s only one camera lens. But it comes with all the possible upgrades Apple could add using the same design.
      iPhone SE 3 specs and features. Image source: Apple Inc. The Galaxy S22 Ultra also features a larger battery than the iPhone SE 3 because it’s a significantly larger phone. But the Ultra doesn’t deliver the best battery life in town, failing to match the iPhone 13 Pro Max. The iPhone SE 3 does offer better battery life than its predecessor, however.
      To get back to the overall design, we can’t talk about build quality without discussing drop tests. The iPhone SE 3’s display is stronger than the Galaxy S22 Ultra. That’s according to drop tests that showed the Galaxy S22 phones are more likely to break than the iPhone.
      The curved screen on the Galaxy S22 Ultra also makes it more prone to sustaining damage than handsets with flat screens.
      The big performance gap
      Where the iPhone SE 3 shines is performance. The phone features the same A15 Bionic System-on-Chip (SoC) as the iPhone 13, and benchmarks show the phone is just as fast as iPhone 13 models. That means the newest iPhone SE will last for many years without showing its age.
      Not to mention that Apple makes sure that its latest iOS releases will support several iPhone generations. That’s something Samsung hasn’t managed to achieve because it doesn’t control the underlying operating system. However, starting with the Galaxy S22 series, Samsung will guarantee four years of Android releases for certain devices.
      Galaxy S22 Exynos 2200 benchmarks: Geekbench 5.1 single-core result. Image source: Computer Base Early Galaxy S22 Ultra Geekbench benchmarks showed that the A15 will outperform both the Snapdragon 8 Gen 1 and the Exynos 2200 chips. What’s worse for Samsung is that the A13 Bionic in the iPhone 11 and iPhone SE 2 also outscores the Exynos 2200 in benchmarks.
      You won’t find benchmark results for the Galaxy S22 phones anymore. That’s because Geekbench banned the Galaxy S22 Ultra and other Samsung devices for cheating on the tests.
      Samsung has throttled the performance of its phones, except for benchmark apps. After facing massive criticism, Samsung issued an update to improve the Galaxy S22’s performance. But there’s still reason to worry about performance and overheating on the phones. The Exynos 2200 seems to be prone to overheat, but that’s just speculation.
      Also of note, the throttling fix isn’t yet available in most markets.
      Galaxy S22 Ultra colors. Image source: Samsung The iPhone SE 3 wins
      Again, comparing mid-range and flagship handsets might seem unfair. But the iPhone SE 3 delivers a flagship experience that can exceed the Galaxy S22 Ultra. The $429 device has no real competition right now.
      The $449 Galaxy A53 that Samsung just launched won’t come close. That should be obvious when you consider that the $1,200 Galaxy S22 Ultra flagship can’t even compete with the iPhone SE 3.
      With all that in mind, the new iPhone SE might be the best choice for all smartphone buyers who aren’t loyal to one brand or operating system. The $429 iPhone SE 3 can also be an excellent 5G device for people who want a fast handset right now but not necessarily an expensive flagship.
      Given all the issues impacting the newest Samsung phones, whether they’re performance problems or Samsung’s misleading claims, you might want to wait for the Galaxy S23 Ultra rather than getting the current model.
      More iPhone coverage: For more iPhone news, visit our iPhone 14 guide.
      The post Apple’s $429 iPhone performance crushes the $1,200 Galaxy S22 Ultra appeared first on BGR.
      View the full article
    • By BGR
      Last week, Apple unveiled the iPad Air 5 tablet, surprising buyers with a shockingly powerful upgrade. The mid-range iPad has the same M1 System-on-Chip (SoC) as the 2021 iPad Pro and several Macs. Benchmarks revealed Apple did not make changes to the M1 SoC in the iPad Air 5, supporting the idea that mid-range Android tablets can’t match its performance. But a new development indicates the iPad Air 5 is not just a big headache for Google, but also for Samsung’s Galaxy Tab S8 flagship tablet.
      The Galaxy Tab S8 series represents the best possible Android alternative to the iPad Pro. But the three Galaxy Tab S8 versions all suffer from the same app throttling problem as the Galaxy S22.
      Don't Miss: Wednesday’s deals: $50 Echo Buds, secret Fire TV deal, Oral-B sale, Samsung monitors, more What is the difference between the iPad Air and the iPad Pro?
      With the new iPad Air 5, you get a 10.9-inch display, the M1 SoC, 64GB of storage, and 8GB of RAM all for $599. These are the base iPad Air 5 specs that will satisfy the needs of most tablet users.
      The 11-inch iPad Pro starts at $799. The $200 price bump gets you double the storage, a slightly larger and brighter screen that comes with ProMotion support, a second ultra-wide camera and LiDAR sensor on the back, and Face ID authentication instead of Touch ID.
      The Galaxy Tab S8 tablets are all supposed to be iPad Pro rivals. The cheapest model starts at $700. You’ll have to pay $200 more for the Plus and then another $200 on top of that for the Ultra. You read that properly — the S8 tops out at $1,100.
      Samsung’s flagship tablets start with 8GB of RAM and 128GB of storage and feature OLED screens. The base model has an 11-inch display, which means it’s about as big as the iPad Air 5.
      All Galaxy Tab S8 models feature the same Snapdragon 8 Gen 1 SoC, which is an A15 Bionic alternative, not an M1 competitor. And the Snapdragon 8 Gen 1 can’t even outperform the iPhone 13 chip in benchmarks or real-life tests.
      Even without the throttling issues, the new Snapdragon doesn’t play in the same league as the M1.
      Samsung revealed the Galaxy Tab S8 series at Galaxy Unpacked 2022. Image source: Samsung Samsung’s app throttling controversy
      Samsung preloaded an app on various Android devices that can reduce the performance of thousands of apps. It’s called Game Optimization Service or GOS, and it’s supposed to mainly impact games. Unfortunately, it impacts thousands of apps that shouldn’t be affected.
      GOS reduces performance to prevent overheating on the Galaxy S22 and other phones. This prevents battery drain, as the CPU speed is lowered.
      Also of note, GOS throttles both the Snapdragon 8 Gen 1 and Exynos 2200. These are the two SoCs that power the Galaxy S22 series line.
      The Galaxy Tab S8 suffers from the same problem, even though the tablets are much larger than Galaxy S22 phones. In theory, Samsung could have significantly improved the three tablets’ cooling system. And all of them feature much larger batteries, so battery life worries aren’t as serious. Yet GOS is very much enabled.
      Having the best Android flagship tablet throttle performance is an absolute nightmare, especially when the iPad Air 5 delivers iPad Pro performance. And the new iPad Air is $100 cheaper than the most affordable Galaxy Tab S8.
      Samsung issued a fix for the Galaxy S22 in some regions, allowing users to bypass GOS throttling. Moreover, Samsung apologized to shareholders this week, indicating how important this Galaxy S22 controversy is. But it’s unclear when the Galaxy Tab S8 fix will roll out.
      Galaxy Tab S8 Ultra design. Image source: Samsung Galaxy Tab S8 line excluded from Geekbench 5
      News that Apple hasn’t modified M1 performance for the iPad Air 5 has to be a devastating blow for Samsung’s Galaxy Tab S8 ambitions. Especially since the new iPad Air dropped at the same time as news that the Galaxy Tab S8 suffers from the infamous app throttling issue.
      What’s worse is that the Galaxy Tab S8 tablets will suffer the same fate as the Galaxy S22 phones when it comes to benchmarks. Android Police reports that Geekbench will delist the S8 series from its website for cheating. The blog was able to verify that the Galaxy Tab S8 tablets throttle the performance of resource-intensive apps, but it does not throttle benchmark test apps.
      That’s a humiliating start for the Galaxy Tab S8 that indicates the iPad Pro is still the best “Pro” tablet choice in town. Or the iPad Air 5, if you’re on a tighter budget.
      More iPhone coverage: For more iPhone news, visit our iPhone 13 guide.
      The post iPad Air 5 absolutely crushes Galaxy Tab S8’s throttled performance appeared first on BGR.
      View the full article

  • Create New...