Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by Jeff · May 03, 2010 at 08:30 AM · iphoneperformancerendererprofileripad

Confusing Ipad performance problems - help!

Hey guys,

I have an iPhone app that works great, but I'm having problems getting an ipad-native version. Here's the issue:

In the process of trying to fix this issue, I've stripped my scene down to just the basics: one SpriteManager with about 64 sprites. All of my builds are being done on the same IPAD, no simulators or anything.

When I build the app with the target iPhone only (with the screen doubling because I'm running it on the ipad) it runs super smooth. However, if I build it for the ipad (and thus get the full resolution etc) it becomes much more choppy and sluggish.

When I run the unity profiler, here's what I get: iPhone (doubled screen) CPU-player> min: 2.1. Max:6.7. Avg: 4.0 Player-detail> ... render: 0.6 ...

Ipad native: CPU-player> min: 3.8. Max:88.1. Avg: 36.3 Player-detail> ... render: 31.9 ...

I realize that the larger screen resolution means more CPU usage, but not enough to explain this massive jump in render time. Is there anything I'm supposed to be doing on the ipad to avoid this?

Thanks in advance!! Ps everything is in os 3.2

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
6

Answer by ReJ · May 24, 2010 at 12:19 PM

Larger screen resolution actually does NOT mean more CPU usage. However high iPad resolution it has a tremendous cost on GPU (as you probably know iPad has exactly the same SGX535 GPU as iPhone3GS has, but x5 times more pixels).

In your case CPU just spends most of the time waiting until GPU finishes its work. You observe that as a high "render" time (31.9ms on average in your case) on iPad vs 0.6ms in case of iPhone.

Basically you should work on reducing amount of alpha-blended/alpha-tested surfaces and simplifying shaders: turn off fog (it can be really expensive on iPad), reduce number of textures per material (use only 1 if you can), prefer using shaders from iPhone Standard Assets package. Make sure all your textures are PVRTC compressed too.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Low frame rate with only one texture on iPad 4 Answers

iPhone Performance Question relating to CPU-WAITS-GPU 1 Answer

Best way to create/design modular Player 2 Answers

Poor fog performance on the iPad? 2 Answers

Game runs smoother when profiling on an iPad 2/iPhone 4s, sluggish otherwise 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges