iOS 4.3 fullscreen web apps do not use Nitro JavaScript engine

Originator:eric.mccarthy
Number:rdar://9126168 Date Originated:12-Mar-2011 03:43 PM
Status:Duplicate/9126031 Resolved:
Product:iPhone/iPod touch Product Version:4.3/8F190
Classification:Performance Reproducible:Always
 
Summary:

Web pages marked with <meta name="apple-mobile-web-app-capable" content="yes"> do not show the speed enhancements from the Nitro JavaScript engine when launched from the home screen. 

Steps to Reproduce:

1. Create an HTML page that performs a JavaScript benchmark containing the <meta name="apple-mobile-web-app-capable" content="yes"> tag, or use the attached sample code.

2. Visit the benchmark page in Safari and note the results of the benchmark.

3. Add the page to the iOS home screen.

4. Launch the page from the home screen.

5. Run the benchmark again and compare the results.

Expected Results:

The benchmark results should not differ in any significant way.

Actual Results:

The benchmark run in Safari is significantly faster than the benchmark run from the page launched from the home screen.

Regression:

Notes:

This may be related to the bug where UIWebView in 3rd party apps do not see the performance enhancements from Nitro. However, since there is no 3rd party native code in home-screen web apps, it's possible there may be a different (and more expedient) way to resolve this issue.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!