Jump to content

iOS 8 performance...


ericjbasti
 Share

Recommended Posts

Hello everyone,

 

I'm sure a lot of you have seen this blog post from the makers of Construct (https://www.scirra.com/blog/150/html5-game-performance-on-ios-8) It has some really good information and shows just how powerful WebGL is. Great news all around. 

 

I didn't see it addressed in the article, nor have I seen anyone else talk about yet, but I'm seeing a drastic difference in performance between in Safari performance and 'web-app' performance (ie. save to home screen). I'm not sure if its just my device (iPhone 5s) or if its for everyone, but perhaps someone here could help verify my findings.

 

Below are screenshots using Scirra's Space Blaster test. The first is when saved to the home screen to run as a web-app. The second is in Safari. Both ran for 1 minute with no other applications open. 

 

post-7003-0-50810700-1411131372_thumb.pn

The web-app version only drops 4 frames during that entire minute and used a max cpu of 91%.

 

post-7003-0-15066600-1411131375_thumb.pn

The Safari version drops just about 1 frame a second and never gets beyond around 50% of the cpu.

 

Safari seems to be caping the CPU usage (which I'm cool with, I don't need Canvas acting like Flash on the desktop), however I haven't seen this documented anywhere, and in the past the opposite was true. If you wanted full speed in iOS7, you had users run it from Safari not a web-app.

 

This leads me to believe that for our games on iOS 8 we will actually want to get users out of Safari and into a web-app (I take that back, the sencha link from alex_h actually mentions a really serious bug with web-apps). Even for webGL.

 

(note: at the time of both screenshots the fps reads 60fps, but I actually noticed it jump down to 48 quite a few times in Safari.)

Edited by ericjbasti
Link to comment
Share on other sites

Thanks for the link. That web-app timing bug is a killer. Still didn't see anything about performance differences between in Safari and in web-app. I'm sure most won't notice since webGL is such an improvement.

 

Oddly enough I've seen people complaining about some native games and apps getting choppy with iOS8 (even OS transitions between apps). Definitely some performance issues going on with 8 right now.

Link to comment
Share on other sites

Yeah, there seem to be a lot of changes that have gone on under the hood. We've seen examples of code that ran at 60fps on iOS 7.1 but dropped to 30fps running on iOS8 with identical hardware. In this instance it turned out to be down to the developers having made use of a css transform3d hack to try to force hardware acceleration, iOS8 doesn't seem to like this any more!

Link to comment
Share on other sites

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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...