IOS 7.1.0 startup time slower than 6.5.4

オープン
#97 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
ios, javascript

調査の方向性

リンクされている ns-performance-test リポジトリから始め、release フラグと codecache のシナリオを含めて、iOS 7.1.0 と 6.5.4 の起動プロファイリングを比較します。起動時および CPU のリグレッションが特定されて対処されるか、明確に説明され、その後のアプリの読み込みについても確認できれば、issue は完了です。

索引モデルが issue の本文から書いたものです。

説明

With the release of 7.1.0, we've finally been able to test our mobile app on ios-v8. We've found that the startup is significantly slower, to the point that if we start our app via push, apple may kill it due to it taking too long.

My coworker has made a test repo showing this difference, along with much higher CPU usage: https://github.com/IanNMarshall/ns-performance-test

Without any flags (uglify, release, etc.) here is the startup time difference using Time Profiler:

image

And using release flags:

image

The times are close, but in our app (and likely anything larger than a demo), the difference grows:

image

I hope we are just missing something, as I was really hoping to see a significant boost across the board moving to v8. Our tests included codecache, and I'm aware the first startup is meant to be slower in that case, the slowness persists to subsequent app loads as well.

主要言語
JavaScript
スター
150
フォーク
43
平均マージ
3日 10時間
マージ済み PR(30日)
22

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NativeScript/ios のほかの issue

NativeScript/ios の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。